mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Extend object access hook framework to support arguments, and DROP.
This allows loadable modules to get control at drop time, perhaps for the purpose of performing additional security checks or to log the event. The initial purpose of this code is to support sepgsql, but other applications should be possible as well. KaiGai Kohei, reviewed by me.
This commit is contained in:
@@ -217,7 +217,7 @@ inv_create(Oid lobjId)
|
||||
|
||||
/* Post creation hook for new large object */
|
||||
InvokeObjectAccessHook(OAT_POST_CREATE,
|
||||
LargeObjectRelationId, lobjId_new, 0);
|
||||
LargeObjectRelationId, lobjId_new, 0, NULL);
|
||||
|
||||
/*
|
||||
* Advance command counter to make new tuple visible to later operations.
|
||||
|
||||
Reference in New Issue
Block a user