From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix parse tree of DROP TRANSFORM and COMMENT ON TRANSFORM
Date: Tue, 19 May 2015 03:02:14 +0000
Message-ID: <E1YuXnK-0001tW-Vw@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Fix parse tree of DROP TRANSFORM and COMMENT ON TRANSFORM
The plain C string language name needs to be wrapped in makeString() so
that the parse tree is copyable. This is detectable by
-DCOPY_PARSE_PLAN_TREES. Add a test case for the COMMENT case.
Also make the quoting in the error messages more consistent.
discovered by Tom Lane
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/0779f2ba2db6787259f3ea82f999e08552724218
Modified Files
--------------
contrib/hstore_plperl/expected/create_transform.out | 7 ++++---
contrib/hstore_plperl/sql/create_transform.sql | 2 ++
src/backend/catalog/objectaddress.c | 2 +-
src/backend/commands/dropcmds.c | 4 ++--
src/backend/commands/functioncmds.c | 2 +-
src/backend/parser/gram.y | 6 +++---
6 files changed, 13 insertions(+), 10 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: Fix parse tree of DROP TRANSFORM and COMMENT ON TRANSFORM
In-Reply-To: <E1YuXnK-0001tW-Vw@gemulon.postgresql.org>
References: <E1YuXnK-0001tW-Vw@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox