Skip to content

Move extension_is_visible_hook to extension.h/extension.c (PG 15)#934

Merged
dcw-data merged 1 commit intoREL_15_STABLE_neonfrom
dcw/extension-is-visible-hook-v15
Mar 21, 2026
Merged

Move extension_is_visible_hook to extension.h/extension.c (PG 15)#934
dcw-data merged 1 commit intoREL_15_STABLE_neonfrom
dcw/extension-is-visible-hook-v15

Conversation

@dcw-data
Copy link

Summary

Move extension_is_visible_hook declaration from fmgr.h/fmgr.c to commands/extension.h/extension.c where it conceptually belongs.

Follow-up to the initial hook addition — the hook is about extension catalog filtering, not function manager operations, so it belongs alongside the other extension management declarations.

Changes

  • src/include/fmgr.h — Remove hook typedef and extern (moved)
  • src/backend/utils/fmgr/fmgr.c — Remove hook variable init (moved)
  • src/include/commands/extension.h — Add hook typedef and extern
  • src/backend/commands/extension.c — Add hook variable init alongside other globals

@dcw-data dcw-data force-pushed the dcw/extension-is-visible-hook-v15 branch from 037da62 to 55b5f42 Compare March 20, 2026 21:48
@dcw-data dcw-data merged commit 6056289 into REL_15_STABLE_neon Mar 21, 2026
1 check passed
@dcw-data dcw-data deleted the dcw/extension-is-visible-hook-v15 branch March 21, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants