mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Adjust many backend functions to return OID rather than void.
Extracted from a larger patch by Dimitri Fontaine. It is hoped that this will provide infrastructure for enriching the new event trigger functionality, but it seems possibly useful for other purposes as well.
This commit is contained in:
@@ -27,7 +27,7 @@ extern bool creating_extension;
|
||||
extern Oid CurrentExtensionObject;
|
||||
|
||||
|
||||
extern void CreateExtension(CreateExtensionStmt *stmt);
|
||||
extern Oid CreateExtension(CreateExtensionStmt *stmt);
|
||||
|
||||
extern void RemoveExtensionById(Oid extId);
|
||||
|
||||
@@ -43,7 +43,7 @@ extern void ExecAlterExtensionContentsStmt(AlterExtensionContentsStmt *stmt);
|
||||
extern Oid get_extension_oid(const char *extname, bool missing_ok);
|
||||
extern char *get_extension_name(Oid ext_oid);
|
||||
|
||||
extern void AlterExtensionNamespace(List *names, const char *newschema);
|
||||
extern Oid AlterExtensionNamespace(List *names, const char *newschema);
|
||||
|
||||
extern void AlterExtensionOwner_oid(Oid extensionOid, Oid newOwnerId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user