]> granicus.if.org Git - postgresql/commit
Tweak the order of processing of WITH clauses so that they are processed
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 12 Feb 2010 22:48:56 +0000 (22:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 12 Feb 2010 22:48:56 +0000 (22:48 +0000)
commit4688869f41ed716a88bb88bf2642e47e27c57e99
treee6e69e3e353d64aac93161ce603ad9211d393b04
parent1b3a437a1993e1a155a91f511ac6f31b3879986b
Tweak the order of processing of WITH clauses so that they are processed
before we start analyzing the parent statement.  This is to make it
more clear that the WITH isn't affected by anything in the parent.
I don't believe there's any actual bug here, because the stuff that
was being done before WITH didn't affect subqueries; but it's certainly
a potential for error (and apparently misled Marko into committing some
real errors...).
src/backend/parser/analyze.c