]> granicus.if.org Git - postgresql/commit
Avoid scribbling on original parsetree during DECLARE CURSOR. This
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Nov 2004 22:16:49 +0000 (22:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Nov 2004 22:16:49 +0000 (22:16 +0000)
commit0b9f48daf2601a1be20f8a85ad151bdc05dd1907
treeda40dc98dfa232338f103bdf6b3804279c6dab3f
parentf5778c63e546d7990f6422d9acdae09347133b81
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