Skip to content

Move extension_is_visible_hook to extension.h/extension.c (PG 17)#936

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

Move extension_is_visible_hook to extension.h/extension.c (PG 17)#936
dcw-data merged 1 commit intoREL_17_STABLE_neonfrom
dcw/extension-is-visible-hook-v17

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-v17 branch from fee174c to 985ea79 Compare March 20, 2026 21:48
@dcw-data dcw-data merged commit 6a0cb7e into REL_17_STABLE_neon Mar 21, 2026
1 check passed
@dcw-data dcw-data deleted the dcw/extension-is-visible-hook-v17 branch March 21, 2026 00:14
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