{"kind": "hook", "major": "18", "item": {"slug": "shmem_request_hook", "name": "shmem_request_hook", "name_zh": "shmem_request_hook", "category": "Startup and shared memory", "summary": "shmem_request_hook: core extension hook declared in src/include/miscadmin.h. The exact interface and call sites are recorded below.", "aliases": [], "versions": {"15": {"facts": [{"label": "Interface type", "value": "shmem_request_hook_type"}, {"label": "Header", "value": "src/include/miscadmin.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=15", "label": "shared_preload_libraries"}], "release": {"ref": "REL_15_STABLE", "label": "15", "major": "15", "channel": "stable", "revision": "0351991b8e7c7b64382e2f30ce581a8f276590a6"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/0351991b8e7c7b64382e2f30ce581a8f276590a6/src/include/miscadmin.h#L495", "path": "src/include/miscadmin.h", "label": "Interface declaration", "sha256": "d632d6ac1bc6e351fb2f414ae056b78496d4994ea57c467e671bc4b48937621f"}, {"url": "https://github.com/postgres/postgres/blob/0351991b8e7c7b64382e2f30ce581a8f276590a6/src/backend/utils/init/miscinit.c#L1673", "path": "src/backend/utils/init/miscinit.c", "label": "Core definition", "sha256": "1271d82aba17b5d88d964527ffa371a50ce1326cdaa05b91bd61f3c085e8a703"}, {"url": "https://github.com/postgres/postgres/blob/0351991b8e7c7b64382e2f30ce581a8f276590a6/src/backend/utils/init/miscinit.c#L1767", "path": "src/backend/utils/init/miscinit.c", "label": "Call sites", "sha256": "1271d82aba17b5d88d964527ffa371a50ce1326cdaa05b91bd61f3c085e8a703"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/utils/init/miscinit.c:1767"]}, {"code": " */\nvoid\nprocess_shmem_requests(void)\n{\n\tprocess_shmem_requests_in_progress = true;\n\tif (shmem_request_hook)\n\t\tshmem_request_hook();\n\tprocess_shmem_requests_in_progress = false;\n}\n\nvoid\npg_bindtextdomain(const char *domain)\n{\n#ifdef ENABLE_NLS\n\tif (my_exec_path[0] != '\\0')", "title": "Core call context: src/backend/utils/init/miscinit.c:1761\u20131775", "paragraphs": []}], "signature": "typedef void (*shmem_request_hook_type) (void);\nextern PGDLLIMPORT shmem_request_hook_type shmem_request_hook;", "description": ["shmem_request_hook: core extension hook declared in src/include/miscadmin.h. The exact interface and call sites are recorded below."]}, "16": {"facts": [{"label": "Interface type", "value": "shmem_request_hook_type"}, {"label": "Header", "value": "src/include/miscadmin.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=16", "label": "shared_preload_libraries"}], "release": {"ref": "REL_16_STABLE", "label": "16", "major": "16", "channel": "stable", "revision": "dcc37b7099a9f3cf2c75167d8dc92e75f96bc1fa"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/dcc37b7099a9f3cf2c75167d8dc92e75f96bc1fa/src/include/miscadmin.h#L503", "path": "src/include/miscadmin.h", "label": "Interface declaration", "sha256": "7558bf0de318ebafa10615b2ff400fc8d6f2db0012028843aff2cf1005e3433e"}, {"url": "https://github.com/postgres/postgres/blob/dcc37b7099a9f3cf2c75167d8dc92e75f96bc1fa/src/backend/utils/init/miscinit.c#L1837", "path": "src/backend/utils/init/miscinit.c", "label": "Core definition", "sha256": "556e72104ec6b03446e4c333c0c89f005b7138c59430763ea3a2e993339b0588"}, {"url": "https://github.com/postgres/postgres/blob/dcc37b7099a9f3cf2c75167d8dc92e75f96bc1fa/src/backend/utils/init/miscinit.c#L1931", "path": "src/backend/utils/init/miscinit.c", "label": "Call sites", "sha256": "556e72104ec6b03446e4c333c0c89f005b7138c59430763ea3a2e993339b0588"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/utils/init/miscinit.c:1931"]}, {"code": " */\nvoid\nprocess_shmem_requests(void)\n{\n\tprocess_shmem_requests_in_progress = true;\n\tif (shmem_request_hook)\n\t\tshmem_request_hook();\n\tprocess_shmem_requests_in_progress = false;\n}\n\nvoid\npg_bindtextdomain(const char *domain)\n{\n#ifdef ENABLE_NLS\n\tif (my_exec_path[0] != '\\0')", "title": "Core call context: src/backend/utils/init/miscinit.c:1925\u20131939", "paragraphs": []}], "signature": "typedef void (*shmem_request_hook_type) (void);\nextern PGDLLIMPORT shmem_request_hook_type shmem_request_hook;", "description": ["shmem_request_hook: core extension hook declared in src/include/miscadmin.h. The exact interface and call sites are recorded below."]}, "17": {"facts": [{"label": "Interface type", "value": "shmem_request_hook_type"}, {"label": "Header", "value": "src/include/miscadmin.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=17", "label": "shared_preload_libraries"}], "release": {"ref": "REL_17_STABLE", "label": "17", "major": "17", "channel": "stable", "revision": "163288afd32a448244c8df75b3c33181aadd7f20"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/163288afd32a448244c8df75b3c33181aadd7f20/src/include/miscadmin.h#L518", "path": "src/include/miscadmin.h", "label": "Interface declaration", "sha256": "7e3b8c86c2dc9f80fdcf277a614ebec3432e287895e6a26c30c8e11f62299e7b"}, {"url": "https://github.com/postgres/postgres/blob/163288afd32a448244c8df75b3c33181aadd7f20/src/backend/utils/init/miscinit.c#L1836", "path": "src/backend/utils/init/miscinit.c", "label": "Core definition", "sha256": "976e73d856b8c480dd6711387067668d1bb2e0c2f1251e39bb946b9b5cfe64ff"}, {"url": "https://github.com/postgres/postgres/blob/163288afd32a448244c8df75b3c33181aadd7f20/src/backend/utils/init/miscinit.c#L1930", "path": "src/backend/utils/init/miscinit.c", "label": "Call sites", "sha256": "976e73d856b8c480dd6711387067668d1bb2e0c2f1251e39bb946b9b5cfe64ff"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/utils/init/miscinit.c:1930"]}, {"code": " */\nvoid\nprocess_shmem_requests(void)\n{\n\tprocess_shmem_requests_in_progress = true;\n\tif (shmem_request_hook)\n\t\tshmem_request_hook();\n\tprocess_shmem_requests_in_progress = false;\n}\n\nvoid\npg_bindtextdomain(const char *domain)\n{\n#ifdef ENABLE_NLS\n\tif (my_exec_path[0] != '\\0')", "title": "Core call context: src/backend/utils/init/miscinit.c:1924\u20131938", "paragraphs": []}], "signature": "typedef void (*shmem_request_hook_type) (void);\nextern PGDLLIMPORT shmem_request_hook_type shmem_request_hook;", "description": ["shmem_request_hook: core extension hook declared in src/include/miscadmin.h. The exact interface and call sites are recorded below."]}, "18": {"facts": [{"label": "Interface type", "value": "shmem_request_hook_type"}, {"label": "Header", "value": "src/include/miscadmin.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=18", "label": "shared_preload_libraries"}], "release": {"ref": "REL_18_STABLE", "label": "18", "major": "18", "channel": "stable", "revision": "753057e340da8f22e57c9a409ea7a235fd6a46bd"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/753057e340da8f22e57c9a409ea7a235fd6a46bd/src/include/miscadmin.h#L533", "path": "src/include/miscadmin.h", "label": "Interface declaration", "sha256": "597e33af3a463e98e900e9c20e949a48dfd0b20420d31f7db1d1eab58d4a89d3"}, {"url": "https://github.com/postgres/postgres/blob/753057e340da8f22e57c9a409ea7a235fd6a46bd/src/backend/utils/init/miscinit.c#L1841", "path": "src/backend/utils/init/miscinit.c", "label": "Core definition", "sha256": "54bdb859c143a6c70d86067ccf2e124f59aa0852e5705bb653652e41a60af39a"}, {"url": "https://github.com/postgres/postgres/blob/753057e340da8f22e57c9a409ea7a235fd6a46bd/src/backend/utils/init/miscinit.c#L1935", "path": "src/backend/utils/init/miscinit.c", "label": "Call sites", "sha256": "54bdb859c143a6c70d86067ccf2e124f59aa0852e5705bb653652e41a60af39a"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/utils/init/miscinit.c:1935"]}, {"code": " */\nvoid\nprocess_shmem_requests(void)\n{\n\tprocess_shmem_requests_in_progress = true;\n\tif (shmem_request_hook)\n\t\tshmem_request_hook();\n\tprocess_shmem_requests_in_progress = false;\n}\n\nvoid\npg_bindtextdomain(const char *domain)\n{\n#ifdef ENABLE_NLS\n\tif (my_exec_path[0] != '\\0')", "title": "Core call context: src/backend/utils/init/miscinit.c:1929\u20131943", "paragraphs": []}], "signature": "typedef void (*shmem_request_hook_type) (void);\nextern PGDLLIMPORT shmem_request_hook_type shmem_request_hook;", "description": ["shmem_request_hook: core extension hook declared in src/include/miscadmin.h. The exact interface and call sites are recorded below."]}, "19": {"facts": [{"label": "Interface type", "value": "shmem_request_hook_type"}, {"label": "Header", "value": "src/include/miscadmin.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=19", "label": "shared_preload_libraries"}], "release": {"ref": "REL_19_BETA4", "label": "19 Beta 4", "major": "19", "channel": "preview", "revision": "b73d13c32c834a2c8e1c60cb92f79530376cedf1"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/b73d13c32c834a2c8e1c60cb92f79530376cedf1/src/include/miscadmin.h#L539", "path": "src/include/miscadmin.h", "label": "Interface declaration", "sha256": "42e5dbc203c366f3e959bb0a103fc1ef97696b83fde8fc493a8f910f823a9457"}, {"url": "https://github.com/postgres/postgres/blob/b73d13c32c834a2c8e1c60cb92f79530376cedf1/src/backend/utils/init/miscinit.c#L1790", "path": "src/backend/utils/init/miscinit.c", "label": "Core definition", "sha256": "7448d020460a9c354d69c97244da09d267271a2f419736addad3c33ddcfc3e8c"}, {"url": "https://github.com/postgres/postgres/blob/b73d13c32c834a2c8e1c60cb92f79530376cedf1/src/backend/utils/init/miscinit.c#L1884", "path": "src/backend/utils/init/miscinit.c", "label": "Call sites", "sha256": "7448d020460a9c354d69c97244da09d267271a2f419736addad3c33ddcfc3e8c"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/utils/init/miscinit.c:1884"]}, {"code": " */\nvoid\nprocess_shmem_requests(void)\n{\n\tprocess_shmem_requests_in_progress = true;\n\tif (shmem_request_hook)\n\t\tshmem_request_hook();\n\tprocess_shmem_requests_in_progress = false;\n}\n\nvoid\npg_bindtextdomain(const char *domain)\n{\n#ifdef ENABLE_NLS\n\tif (my_exec_path[0] != '\\0')", "title": "Core call context: src/backend/utils/init/miscinit.c:1878\u20131892", "paragraphs": []}], "signature": "typedef void (*shmem_request_hook_type) (void);\nextern PGDLLIMPORT shmem_request_hook_type shmem_request_hook;", "description": ["shmem_request_hook: core extension hook declared in src/include/miscadmin.h. The exact interface and call sites are recorded below."]}, "20": {"facts": [{"label": "Interface type", "value": "shmem_request_hook_type"}, {"label": "Header", "value": "src/include/miscadmin.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=20", "label": "shared_preload_libraries"}], "release": {"ref": "master", "label": "20 devel", "major": "20", "channel": "devel", "revision": "2c10c2ce4d7bcd57543a49ab402af02a39724e0a"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/2c10c2ce4d7bcd57543a49ab402af02a39724e0a/src/include/miscadmin.h#L550", "path": "src/include/miscadmin.h", "label": "Interface declaration", "sha256": "edb8151c4b93a805230d2a61e537d71f1e34d03af331f04d16c05889a53f0962"}, {"url": "https://github.com/postgres/postgres/blob/2c10c2ce4d7bcd57543a49ab402af02a39724e0a/src/backend/utils/init/miscinit.c#L1793", "path": "src/backend/utils/init/miscinit.c", "label": "Core definition", "sha256": "7db586ec34a7b5493e94ebe8e84ddd8ee64187fd211940cf02459eebd5cdb4e7"}, {"url": "https://github.com/postgres/postgres/blob/2c10c2ce4d7bcd57543a49ab402af02a39724e0a/src/backend/utils/init/miscinit.c#L1887", "path": "src/backend/utils/init/miscinit.c", "label": "Call sites", "sha256": "7db586ec34a7b5493e94ebe8e84ddd8ee64187fd211940cf02459eebd5cdb4e7"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/utils/init/miscinit.c:1887"]}, {"code": " */\nvoid\nprocess_shmem_requests(void)\n{\n\tprocess_shmem_requests_in_progress = true;\n\tif (shmem_request_hook)\n\t\tshmem_request_hook();\n\tprocess_shmem_requests_in_progress = false;\n}\n\nvoid\npg_bindtextdomain(const char *domain)\n{\n#ifdef ENABLE_NLS\n\tif (my_exec_path[0] != '\\0')", "title": "Core call context: src/backend/utils/init/miscinit.c:1881\u20131895", "paragraphs": []}], "signature": "typedef void (*shmem_request_hook_type) (void);\nextern PGDLLIMPORT shmem_request_hook_type shmem_request_hook;", "description": ["shmem_request_hook: core extension hook declared in src/include/miscadmin.h. The exact interface and call sites are recorded below."]}}, "content_hash": "9a5383ea58f129d46886b5692c1ae655dbcd26e58ff61cc2a0bfc1a8aeb0bec1", "imported_at": "2026-09-27T09:57:58.890"}, "snapshot": {"facts": [{"label": "Interface type", "value": "shmem_request_hook_type"}, {"label": "Header", "value": "src/include/miscadmin.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=18", "label": "shared_preload_libraries"}], "release": {"ref": "REL_18_STABLE", "label": "18", "major": "18", "channel": "stable", "revision": "753057e340da8f22e57c9a409ea7a235fd6a46bd"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/753057e340da8f22e57c9a409ea7a235fd6a46bd/src/include/miscadmin.h#L533", "path": "src/include/miscadmin.h", "label": "Interface declaration", "sha256": "597e33af3a463e98e900e9c20e949a48dfd0b20420d31f7db1d1eab58d4a89d3"}, {"url": "https://github.com/postgres/postgres/blob/753057e340da8f22e57c9a409ea7a235fd6a46bd/src/backend/utils/init/miscinit.c#L1841", "path": "src/backend/utils/init/miscinit.c", "label": "Core definition", "sha256": "54bdb859c143a6c70d86067ccf2e124f59aa0852e5705bb653652e41a60af39a"}, {"url": "https://github.com/postgres/postgres/blob/753057e340da8f22e57c9a409ea7a235fd6a46bd/src/backend/utils/init/miscinit.c#L1935", "path": "src/backend/utils/init/miscinit.c", "label": "Call sites", "sha256": "54bdb859c143a6c70d86067ccf2e124f59aa0852e5705bb653652e41a60af39a"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/utils/init/miscinit.c:1935"]}, {"code": " */\nvoid\nprocess_shmem_requests(void)\n{\n\tprocess_shmem_requests_in_progress = true;\n\tif (shmem_request_hook)\n\t\tshmem_request_hook();\n\tprocess_shmem_requests_in_progress = false;\n}\n\nvoid\npg_bindtextdomain(const char *domain)\n{\n#ifdef ENABLE_NLS\n\tif (my_exec_path[0] != '\\0')", "title": "Core call context: src/backend/utils/init/miscinit.c:1929\u20131943", "paragraphs": []}], "signature": "typedef void (*shmem_request_hook_type) (void);\nextern PGDLLIMPORT shmem_request_hook_type shmem_request_hook;", "description": ["shmem_request_hook: core extension hook declared in src/include/miscadmin.h. The exact interface and call sites are recorded below."]}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}