Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group