Skip to content

Move extension_is_visible_hook to extension.h/extension.c (PG 14)#933

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

Move extension_is_visible_hook to extension.h/extension.c (PG 14)#933
dcw-data merged 1 commit intoREL_14_STABLE_neonfrom
dcw/extension-is-visible-hook-v14

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-v14 branch from c1e9c07 to 4c3472b Compare March 20, 2026 21:48
@dcw-data dcw-data merged commit 74c6ea9 into REL_14_STABLE_neon Mar 21, 2026
1 check passed
@dcw-data dcw-data deleted the dcw/extension-is-visible-hook-v14 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