| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Implement "ALTER EXTENSION ADD object". |
| Date: | 2011-02-09 16:57:03 |
| Message-ID: | E1PnDLj-0007yt-Je@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Implement "ALTER EXTENSION ADD object".
This is an essential component of making the extension feature usable;
first because it's needed in the process of converting an existing
installation containing "loose" objects of an old contrib module into
the extension-based world, and second because we'll have to use it
in pg_dump --binary-upgrade, as per recent discussion.
Loosely based on part of Dimitri Fontaine's ALTER EXTENSION UPGRADE
patch.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5bc178b89f3ab93fb3845a941769c212f5eeaf1a
Modified Files
--------------
doc/src/sgml/extend.sgml | 12 +
doc/src/sgml/ref/alter_extension.sgml | 194 ++++++++++++++++---
src/backend/commands/extension.c | 59 ++++++-
src/backend/nodes/copyfuncs.c | 16 ++
src/backend/nodes/equalfuncs.c | 14 ++
src/backend/parser/gram.y | 186 +++++++++++++++++-
src/backend/tcop/utility.c | 357 ++++++++++++---------------------
src/include/commands/extension.h | 2 +
src/include/nodes/nodes.h | 1 +
src/include/nodes/parsenodes.h | 15 +-
10 files changed, 601 insertions(+), 255 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2011-02-09 19:06:03 | pgsql: Rethink order of operations for dumping extension member objects |
| Previous Message | Magnus Hagander | 2011-02-09 16:14:20 | Re: [COMMITTERS] pgsql: Remove more SGML tabs. |