pgsql: Avoid scribbling on original parsetree during DECLARE CURSOR.

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid scribbling on original parsetree during DECLARE CURSOR.
Date: 2004-11-28 22:16:50
Message-ID: 20041128221650.EE3123A4030@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Avoid scribbling on original parsetree during DECLARE CURSOR. This
prevents problems when the DECLARE is in a portal and is executed
repeatedly, as is possible in v3 protocol. Per analysis by Oliver
Jowett, though I didn't use his patch exactly.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/src/backend/commands:
portalcmds.c (r1.24 -> r1.24.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/portalcmds.c.diff?r1=1.24&r2=1.24.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-11-28 23:49:51 pgsql: Make pg_dumplo schema-aware.
Previous Message Tom Lane 2004-11-28 22:16:32 pgsql: Avoid scribbling on original parsetree during DECLARE CURSOR.