pgsql: Tweak the order of processing of WITH clauses so that they are

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak the order of processing of WITH clauses so that they are
Date: 2010-02-12 22:48:56
Message-ID: 20100212224856.A74A87541C5@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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...).

Modified Files:
--------------
pgsql/src/backend/parser:
analyze.c (r1.400 -> r1.401)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/analyze.c?r1=1.400&r2=1.401)

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2010-02-13 00:59:58 pgsql: Introduce WAL records to log reuse of btree pages, allowing
Previous Message Dimitri Fontaine 2010-02-12 19:53:25 Re: Re: [COMMITTERS] pgsql: Reduce the chatter to the log when starting a standby server.