mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Code beautification for object-access hook machinery.
KaiGai Kohei
This commit is contained in:
@ -742,8 +742,7 @@ CreateTrigger(CreateTrigStmt *stmt, const char *queryString,
|
||||
DEPENDENCY_NORMAL);
|
||||
|
||||
/* Post creation hook for new trigger */
|
||||
InvokeObjectAccessHook(OAT_POST_CREATE,
|
||||
TriggerRelationId, trigoid, 0, NULL);
|
||||
InvokeObjectPostCreateHook(TriggerRelationId, trigoid, 0);
|
||||
|
||||
/* Keep lock on target rel until end of xact */
|
||||
heap_close(rel, NoLock);
|
||||
|
Reference in New Issue
Block a user