pgx::hooks
pub unsafe fn register_hook(hook: &'static mut dyn PgHooks)
Register a PgHook instance to respond to the various hook points
PgHook