| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Extend "ALTER EXTENSION ADD object" to permit "DROP object" as w |
| Date: | 2011-02-10 22:37:51 |
| Message-ID: | E1Pnf95-0006vJ-JV@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Extend "ALTER EXTENSION ADD object" to permit "DROP object" as well.
Per discussion, this is something we should have sooner rather than later,
and it doesn't take much additional code to support it.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/01467d3e4f51fe304c0160c9895484ad696d1e87
Modified Files
--------------
doc/src/sgml/ref/alter_extension.sgml | 15 ++++-
src/backend/catalog/pg_depend.c | 86 +++++++++++++++----------
src/backend/commands/extension.c | 58 +++++++++++++----
src/backend/nodes/copyfuncs.c | 11 ++--
src/backend/nodes/equalfuncs.c | 7 +-
src/backend/parser/gram.y | 113 +++++++++++++++++++-------------
src/backend/tcop/utility.c | 10 ++--
src/bin/psql/tab-complete.c | 7 ++-
src/include/catalog/dependency.h | 3 +
src/include/commands/extension.h | 2 +-
src/include/nodes/nodes.h | 2 +-
src/include/nodes/parsenodes.h | 5 +-
12 files changed, 207 insertions(+), 112 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2011-02-10 22:51:32 | pgsql: Fix isolation tester Makefile so that it runs in a VPATH build |
| Previous Message | Alvaro Herrera | 2011-02-10 22:32:37 | pgsql: Fix the isolation tester compilation on VPATH builds |