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:
@@ -51,11 +51,11 @@ extern void ExecuteTruncate(TruncateStmt *stmt);
|
||||
|
||||
extern void SetRelationHasSubclass(Oid relationId, bool relhassubclass);
|
||||
|
||||
extern void renameatt(RenameStmt *stmt);
|
||||
extern Oid renameatt(RenameStmt *stmt);
|
||||
|
||||
extern void RenameConstraint(RenameStmt *stmt);
|
||||
extern Oid RenameConstraint(RenameStmt *stmt);
|
||||
|
||||
extern void RenameRelation(RenameStmt *stmt);
|
||||
extern Oid RenameRelation(RenameStmt *stmt);
|
||||
|
||||
extern void RenameRelationInternal(Oid myrelid,
|
||||
const char *newrelname);
|
||||
|
||||
Reference in New Issue
Block a user