↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Hooks

object_access_hook

Plugin provides a hook function matching one or both of these signatures.

Reading PG 18·Select a recorded version

Interface type
object_access_hook_type
Header
src/include/catalog/objectaccess.h
Subsystem
Permissions and object access
Initial value
NULL (no hook installed)
signature
typedef void (*object_access_hook_type) (ObjectAccessType access, Oid classId, Oid objectId, int subId, void *arg); extern PGDLLIMPORT object_access_hook_type object_access_hook;

Definition PG 18

Plugin provides a hook function matching one or both of these signatures.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 753057e340da8f22e57c9a409ea7a235fd6a46bd

Text language: en · 753057e340da8f22e57c9a409ea7a235fd6a46bd