OSDN Git Service

Avoid scribbling on original parsetree during DECLARE CURSOR. This
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Nov 2004 22:16:31 +0000 (22:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Nov 2004 22:16:31 +0000 (22:16 +0000)
commit839484f9f51f93dcd7ea0968bd8a8ce775c76537
tree64aaf95fe5df3b061653d5f536d81f9066ddb3d4
parent3ad9f45c89e9dedb959607f879c797b3408608c6
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.
src/backend/commands/portalcmds.c