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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't trash input list structure in does_not_exist_skipping().
Date: 2012-11-08 16:34:51
Message-ID: E1TWV47-00012j-UX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/75af5ae9c017d70531bd49178adfd3103cd40a76

Modified Files
--------------
src/backend/commands/dropcmds.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-11-08 21:53:00 pgsql: Rename ResolveNew() to ReplaceVarsFromTargetList(), and tweak it
Previous Message Heikki Linnakangas 2012-11-08 08:32:13 pgsql: Teach pg_basebackup and pg_receivexlog to reply to server keepal