On Wed, Sep 09, 2009 at 03:00:39PM -0400, Tom Lane wrote: > David Fetter <da...@fetter.org> writes: > > Should the outer query be able to reference further-in CTEs? > > No, why would you expect that?
No particular reason, I suppose. I'm not clear on what the standard says about this. Cheers, David. -- David Fetter <da...@fetter.org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fet...@gmail.com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers