Implement "ALTER EXTENSION ADD object".

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 5bc178b89f3ab93fb3845a941769c212f5eeaf1a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-02-09T16:56:37Z
Releases: 9.1.0
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.

Files