Don't trash input list structure in does_not_exist_skipping().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 03787f63921e37c123ceff712ed405c5172e765d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-11-08T16:34:37Z
Releases: 9.2.2
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.

Files

PathChange+/−
src/backend/commands/dropcmds.c modified +2 −2