OSDN Git Service

Implement "ALTER EXTENSION ADD object".
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 9 Feb 2011 16:55:32 +0000 (11:55 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 9 Feb 2011 16:56:37 +0000 (11:56 -0500)
commit5bc178b89f3ab93fb3845a941769c212f5eeaf1a
tree30f60f6497e97bf4c792bd581a3296aff5a6c5e5
parent70802e0dbef0af4bf73ce25489b8be6e40eca2be
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.
doc/src/sgml/extend.sgml
doc/src/sgml/ref/alter_extension.sgml
src/backend/commands/extension.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/gram.y
src/backend/tcop/utility.c
src/include/commands/extension.h
src/include/nodes/nodes.h
src/include/nodes/parsenodes.h