A trait and registration system for hooking Postgres internal operations such as its planner and executor
PgHook