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:32
Message-ID: 20041128221632.0F7423A2B21@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.

Modified Files:
--------------
pgsql/src/backend/commands:
portalcmds.c (r1.36 -> r1.37)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/portalcmds.c.diff?r1=1.36&r2=1.37)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-11-28 22:16:50 pgsql: Avoid scribbling on original parsetree during DECLARE CURSOR.
Previous Message Bruce Momjian 2004-11-28 05:12:20 pgsql: Add description: < information, either by name or offset from