From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Allow dropping multiple functions at once
Date: Mon, 06 Mar 2017 18:34:49 +0000
Message-ID: <E1ckxT7-0007Z2-KN@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Allow dropping multiple functions at once
The generic drop support already supported dropping multiple objects of
the same kind at once. But the previous representation
of function signatures across two grammar symbols and structure members
made this cumbersome to do for functions, so it was not supported. Now
that function signatures are represented by a single structure, it's
trivial to add this support. Same for aggregates and operators.
Reviewed-by: Jim Nasby <Jim.Nasby@BlueTreble.com>
Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/583f6c414895e72c710f723fbb3649df664530d7
Modified Files
--------------
doc/src/sgml/ref/drop_aggregate.sgml | 11 +++++--
doc/src/sgml/ref/drop_function.sgml | 8 +++++-
doc/src/sgml/ref/drop_operator.sgml | 8 +++++-
src/backend/parser/gram.y | 38 ++++++++++++++++---------
src/test/regress/expected/create_function_3.out | 6 ++--
src/test/regress/sql/create_function_3.sql | 2 ++
6 files changed, 52 insertions(+), 21 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: Allow dropping multiple functions at once
In-Reply-To: <E1ckxT7-0007Z2-KN@gemulon.postgresql.org>
References: <E1ckxT7-0007Z2-KN@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