]> granicus.if.org Git - postgresql/commit
Use a varno not chosen at random for dummy variables in the top-level
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Feb 2003 04:13:06 +0000 (04:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 Feb 2003 04:13:06 +0000 (04:13 +0000)
commit9069a5fc337bf63edf36f40d0e49164c46993482
treeb750268e0f3edb574ff129e6f605246288cb1d85
parent8a4fdce9f277fe1f02654091e89e96180af9c4cb
Use a varno not chosen at random for dummy variables in the top-level
targetlist of a set-operation tree.  I'm not sure that this solution
will really stand the test of time --- perhaps we need to make a special
RTE for such vars to refer to.  But this quick hack fixes Brandon Craig
Rhodes' complaint of 10-Feb-02 about EXCEPT in CREATE RULE, while not
changing any behavior in the better-tested cases where leftmostRTI is
one anyway.
src/backend/parser/analyze.c