diff options
author | Robert Haas | 2012-12-29 12:55:37 +0000 |
---|---|---|
committer | Robert Haas | 2012-12-29 12:55:37 +0000 |
commit | 82b1b213cad3a69cf5f3dfaa81687c14366960fc (patch) | |
tree | e19129f124c02d7ef274393d584de97cc18a5f66 /src/include/commands/extension.h | |
parent | 5ab3af46ddd2f2c2b248f1ffdb688b394d4bb387 (diff) |
Adjust more backend functions to return OID rather than void.
This is again intended to support extensions to the event trigger
functionality. This may go a bit further than we need for that
purpose, but there's some value in being consistent, and the OID
may be useful for other purposes also.
Dimitri Fontaine
Diffstat (limited to 'src/include/commands/extension.h')
-rw-r--r-- | src/include/commands/extension.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/extension.h b/src/include/commands/extension.h index 205807512e2..363375f6232 100644 --- a/src/include/commands/extension.h +++ b/src/include/commands/extension.h @@ -36,9 +36,9 @@ extern Oid InsertExtensionTuple(const char *extName, Oid extOwner, Datum extConfig, Datum extCondition, List *requiredExtensions); -extern void ExecAlterExtensionStmt(AlterExtensionStmt *stmt); +extern Oid ExecAlterExtensionStmt(AlterExtensionStmt *stmt); -extern void ExecAlterExtensionContentsStmt(AlterExtensionContentsStmt *stmt); +extern Oid ExecAlterExtensionContentsStmt(AlterExtensionContentsStmt *stmt); extern Oid get_extension_oid(const char *extname, bool missing_ok); extern char *get_extension_name(Oid ext_oid); |