]> granicus.if.org Git - postgresql/commit
Don't trash input list structure in does_not_exist_skipping().
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 8 Nov 2012 16:34:32 +0000 (11:34 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 8 Nov 2012 16:34:32 +0000 (11:34 -0500)
commit75af5ae9c017d70531bd49178adfd3103cd40a76
treeac0cec9cbc556d0d8f72fe78c4ca231a80849289
parenta9dad56441e4bc5d20c34bd56daf8e72df1b22d3
Don't trash input list structure in does_not_exist_skipping().

The trigger and rule cases need to split up the input name list, but
they mustn't corrupt the passed-in data structure, since it could be part
of a cached utility-statement parsetree.  Per bug #7641.
src/backend/commands/dropcmds.c