mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +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:
@@ -17,13 +17,13 @@
|
||||
|
||||
#include "nodes/parsenodes.h"
|
||||
|
||||
extern void CreateSchemaCommand(CreateSchemaStmt *parsetree,
|
||||
extern Oid CreateSchemaCommand(CreateSchemaStmt *parsetree,
|
||||
const char *queryString);
|
||||
|
||||
extern void RemoveSchemaById(Oid schemaOid);
|
||||
|
||||
extern void RenameSchema(const char *oldname, const char *newname);
|
||||
extern void AlterSchemaOwner(const char *name, Oid newOwnerId);
|
||||
extern Oid RenameSchema(const char *oldname, const char *newname);
|
||||
extern Oid AlterSchemaOwner(const char *name, Oid newOwnerId);
|
||||
extern void AlterSchemaOwner_oid(Oid schemaOid, Oid newOwnerId);
|
||||
|
||||
#endif /* SCHEMACMDS_H */
|
||||
|
Reference in New Issue
Block a user