44 classId, objectId, subId,
66 classId, objectId, subId,
82 RelationRelationId, objectId, 0,
93 Oid auxiliaryId,
bool is_internal)
105 classId, objectId, subId,
127 NamespaceRelationId, objectId, 0,
145 ProcedureRelationId, objectId, 0,
170 classId, objectName, subId,
191 (*object_access_hook_str) (
OAT_DROP,
192 classId, objectName, subId,
208 RelationRelationId, objectName, 0,
219 Oid auxiliaryId,
bool is_internal)
231 classId, objectName, subId,
253 NamespaceRelationId, objectName, 0,
271 ProcedureRelationId, objectName, 0,
#define Assert(condition)
void RunObjectTruncateHookStr(const char *objectName)
void RunFunctionExecuteHookStr(const char *objectName)
void RunObjectDropHook(Oid classId, Oid objectId, int subId, int dropflags)
void RunObjectPostAlterHook(Oid classId, Oid objectId, int subId, Oid auxiliaryId, bool is_internal)
void RunFunctionExecuteHook(Oid objectId)
bool RunNamespaceSearchHook(Oid objectId, bool ereport_on_violation)
void RunObjectPostCreateHookStr(Oid classId, const char *objectName, int subId, bool is_internal)
object_access_hook_type object_access_hook
void RunObjectTruncateHook(Oid objectId)
void RunObjectPostAlterHookStr(Oid classId, const char *objectName, int subId, Oid auxiliaryId, bool is_internal)
void RunObjectPostCreateHook(Oid classId, Oid objectId, int subId, bool is_internal)
void RunObjectDropHookStr(Oid classId, const char *objectName, int subId, int dropflags)
object_access_hook_type_str object_access_hook_str
bool RunNamespaceSearchHookStr(const char *objectName, bool ereport_on_violation)
void(* object_access_hook_type)(ObjectAccessType access, Oid classId, Oid objectId, int subId, void *arg)
void(* object_access_hook_type_str)(ObjectAccessType access, Oid classId, const char *objectStr, int subId, void *arg)
bool ereport_on_violation