mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
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.
This commit is contained in:
@@ -32,6 +32,8 @@ extern void CreateExtension(CreateExtensionStmt *stmt);
|
||||
extern void RemoveExtensions(DropStmt *stmt);
|
||||
extern void RemoveExtensionById(Oid extId);
|
||||
|
||||
extern void ExecAlterExtensionAddStmt(AlterExtensionAddStmt *stmt);
|
||||
|
||||
extern Oid get_extension_oid(const char *extname, bool missing_ok);
|
||||
extern char *get_extension_name(Oid ext_oid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user