From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix corner case wherein a WorkTableScan node could get |
Date: | 2008-10-13 00:41:41 |
Message-ID: | 20081013004141.333D97545A4@cvs.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Fix corner case wherein a WorkTableScan node could get initialized before the
RecursiveUnion to which it refers. It turns out that we can just postpone the
relevant initialization steps until the first exec call for the node, by which
time the ancestor node must surely be initialized. Per report from Greg Stark.
Modified Files:
--------------
pgsql/src/backend/executor:
nodeWorktablescan.c (r1.1 -> r1.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeWorktablescan.c?r1=1.1&r2=1.2)
pgsql/src/test/regress/expected:
with.out (r1.4 -> r1.5)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/with.out?r1=1.4&r2=1.5)
pgsql/src/test/regress/sql:
with.sql (r1.4 -> r1.5)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/with.sql?r1=1.4&r2=1.5)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-10-13 12:59:29 | pgsql: Fix bogus comment emitted by make_oidjoins_check, per Greg Stark. |
Previous Message | User Eggyknap | 2008-10-11 04:50:51 | pllolcode - pllolcode: (Finally) make PL/LOLCODE use variables as |