Skip to content

Move extension_is_visible_hook to extension.h/extension.c (PG 16)#935

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

Move extension_is_visible_hook to extension.h/extension.c (PG 16)#935
dcw-data merged 1 commit intoREL_16_STABLE_neonfrom
dcw/extension-is-visible-hook-v16

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-v16 branch from caff481 to 479d52a Compare March 20, 2026 21:48
@dcw-data dcw-data merged commit 8dbf2dd into REL_16_STABLE_neon Mar 21, 2026
1 check passed
@dcw-data dcw-data deleted the dcw/extension-is-visible-hook-v16 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