Thread: [COMMITTERS] pgsql: Allow dropping multiple functions at once

[COMMITTERS] pgsql: Allow dropping multiple functions at once

From
Peter Eisentraut
Date:
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(-)