{"kind": "hook", "major": "18", "item": {"slug": "shmem_startup_hook", "name": "shmem_startup_hook", "name_zh": "shmem_startup_hook", "category": "Startup and shared memory", "summary": "Now give loadable modules a chance to set up their shmem allocations", "aliases": [], "versions": {"10": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=10", "label": "shared_preload_libraries"}], "release": {"ref": "REL_10_STABLE", "label": "10", "major": "10", "channel": "historical", "revision": "f4e8f137bfb08a664c8288824c1e36b5143ac875"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/f4e8f137bfb08a664c8288824c1e36b5143ac875/src/include/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "e8ec446be87e95160699c928da2b2449a8c4b5ec38b31872581bb74252c13552"}, {"url": "https://github.com/postgres/postgres/blob/f4e8f137bfb08a664c8288824c1e36b5143ac875/src/backend/storage/ipc/ipci.c#L51", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "3d03133d5967740565f5a8c9b6d580c442980db2b28600eae5dcad4dc51e66f0"}, {"url": "https://github.com/postgres/postgres/blob/f4e8f137bfb08a664c8288824c1e36b5143ac875/src/backend/storage/ipc/ipci.c#L285", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "3d03133d5967740565f5a8c9b6d580c442980db2b28600eae5dcad4dc51e66f0"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:285"]}, {"code": "\t\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}", "title": "Core call context: src/backend/storage/ipc/ipci.c:279\u2013286", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "11": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=11", "label": "shared_preload_libraries"}], "release": {"ref": "REL_11_STABLE", "label": "11", "major": "11", "channel": "historical", "revision": "170e416034ec0231d9e9238f2577eeb76ca8d181"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/170e416034ec0231d9e9238f2577eeb76ca8d181/src/include/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "9f4784fb954960b8eadebf8436a5a32a1c8542c9884a96af0c75b25ae5842a3d"}, {"url": "https://github.com/postgres/postgres/blob/170e416034ec0231d9e9238f2577eeb76ca8d181/src/backend/storage/ipc/ipci.c#L51", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "f86e1871958aeb6457ce0c69a88a747185b4f1a69d335e1fbdd4280daeb909ba"}, {"url": "https://github.com/postgres/postgres/blob/170e416034ec0231d9e9238f2577eeb76ca8d181/src/backend/storage/ipc/ipci.c#L285", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "f86e1871958aeb6457ce0c69a88a747185b4f1a69d335e1fbdd4280daeb909ba"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:285"]}, {"code": "\t\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}", "title": "Core call context: src/backend/storage/ipc/ipci.c:279\u2013286", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "12": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=12", "label": "shared_preload_libraries"}], "release": {"ref": "REL_12_STABLE", "label": "12", "major": "12", "channel": "historical", "revision": "3f302f0ed06f69c5ebd33d4df95895323a3cbef6"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/3f302f0ed06f69c5ebd33d4df95895323a3cbef6/src/include/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "88e3ba6b702a5a2d3960b3e994a569ffdc9b24de47bdce0364f22d2ebea67411"}, {"url": "https://github.com/postgres/postgres/blob/3f302f0ed06f69c5ebd33d4df95895323a3cbef6/src/backend/storage/ipc/ipci.c#L52", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "b8f3c4393a31506796e84ce04f71d424b710b052852da7be8aa97d18279eb383"}, {"url": "https://github.com/postgres/postgres/blob/3f302f0ed06f69c5ebd33d4df95895323a3cbef6/src/backend/storage/ipc/ipci.c#L284", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "b8f3c4393a31506796e84ce04f71d424b710b052852da7be8aa97d18279eb383"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:284"]}, {"code": "\t\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}", "title": "Core call context: src/backend/storage/ipc/ipci.c:278\u2013285", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "13": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=13", "label": "shared_preload_libraries"}], "release": {"ref": "REL_13_STABLE", "label": "13", "major": "13", "channel": "historical", "revision": "05f6c9ec2c475fae8fdd56ae40bd01afcf70d1f2"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/05f6c9ec2c475fae8fdd56ae40bd01afcf70d1f2/src/include/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "955fda8c0d7145c5a336796f445c9790a3cb1eb554af2c4ebfb9d87e13560d44"}, {"url": "https://github.com/postgres/postgres/blob/05f6c9ec2c475fae8fdd56ae40bd01afcf70d1f2/src/backend/storage/ipc/ipci.c#L52", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "dc2415038af0994aa474ff1b44946c6933573246543819404e39a9c54f00b9b0"}, {"url": "https://github.com/postgres/postgres/blob/05f6c9ec2c475fae8fdd56ae40bd01afcf70d1f2/src/backend/storage/ipc/ipci.c#L284", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "dc2415038af0994aa474ff1b44946c6933573246543819404e39a9c54f00b9b0"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:284"]}, {"code": "\t\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}", "title": "Core call context: src/backend/storage/ipc/ipci.c:278\u2013285", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "14": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.h"}, {"label": "Subsystem", "value": "Startup and shared memory"}, {"label": "Initial value", "value": "NULL (no hook installed)"}], "related": [{"url": "/docs/guc/shared_preload_libraries/?v=14", "label": "shared_preload_libraries"}], "release": {"ref": "REL_14_STABLE", "label": "14", "major": "14", "channel": "stable", "revision": "fba35c7c28a567839faba867db0808564c0a66db"}, "sources": [{"url": "https://github.com/postgres/postgres/blob/fba35c7c28a567839faba867db0808564c0a66db/src/include/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "76d5a65586f43350003cb56ff45684d5fac6523f264aa3f4be3511cb1893043f"}, {"url": "https://github.com/postgres/postgres/blob/fba35c7c28a567839faba867db0808564c0a66db/src/backend/storage/ipc/ipci.c#L53", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "6c2e3eebb079db0fcadf372ca01cdf4fe3ddc71552d1c61a3f6ce6ba039c8160"}, {"url": "https://github.com/postgres/postgres/blob/fba35c7c28a567839faba867db0808564c0a66db/src/backend/storage/ipc/ipci.c#L290", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "6c2e3eebb079db0fcadf372ca01cdf4fe3ddc71552d1c61a3f6ce6ba039c8160"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:290"]}, {"code": "\t\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}", "title": "Core call context: src/backend/storage/ipc/ipci.c:284\u2013291", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "15": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.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/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "04e61782b23fc323439743b3bc98c1f6a4e9af5a6f5f0afc22e0af206363a371"}, {"url": "https://github.com/postgres/postgres/blob/0351991b8e7c7b64382e2f30ce581a8f276590a6/src/backend/storage/ipc/ipci.c#L55", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "152966c82bef94f611646fe740baa595e80fc1fc12589823b1000649c73d3d0b"}, {"url": "https://github.com/postgres/postgres/blob/0351991b8e7c7b64382e2f30ce581a8f276590a6/src/backend/storage/ipc/ipci.c#L314", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "152966c82bef94f611646fe740baa595e80fc1fc12589823b1000649c73d3d0b"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:314"]}, {"code": "\t\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n\n/*\n * InitializeShmemGUCs\n *\n * This function initializes runtime-computed GUCs related to the amount of\n * shared memory required for the current configuration.\n */", "title": "Core call context: src/backend/storage/ipc/ipci.c:308\u2013322", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "16": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.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/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "8631043c9f604c61c522965bbe4913cc642d952a92a519b4d5db48d7a69c7e7d"}, {"url": "https://github.com/postgres/postgres/blob/dcc37b7099a9f3cf2c75167d8dc92e75f96bc1fa/src/backend/storage/ipc/ipci.c#L56", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "d3d2573b61e6f1f03ab66f699fe038e38b702e284082381ed5df0278d84649c8"}, {"url": "https://github.com/postgres/postgres/blob/dcc37b7099a9f3cf2c75167d8dc92e75f96bc1fa/src/backend/storage/ipc/ipci.c#L315", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "d3d2573b61e6f1f03ab66f699fe038e38b702e284082381ed5df0278d84649c8"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:315"]}, {"code": "\t\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n\n/*\n * InitializeShmemGUCs\n *\n * This function initializes runtime-computed GUCs related to the amount of\n * shared memory required for the current configuration.\n */", "title": "Core call context: src/backend/storage/ipc/ipci.c:309\u2013323", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "17": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.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/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "bea80e3861ac919b8a7cb653f0b889546c3490a6950b37d092510007a320b6f2"}, {"url": "https://github.com/postgres/postgres/blob/163288afd32a448244c8df75b3c33181aadd7f20/src/backend/storage/ipc/ipci.c#L59", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "2d88521d3af21b453fb062c5cf697a51579c2fca6f9481f7784d913ee0780645"}, {"url": "https://github.com/postgres/postgres/blob/163288afd32a448244c8df75b3c33181aadd7f20/src/backend/storage/ipc/ipci.c#L190", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "2d88521d3af21b453fb062c5cf697a51579c2fca6f9481f7784d913ee0780645"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:190", "src/backend/storage/ipc/ipci.c:262"]}, {"code": "\tCreateOrAttachShmemStructs();\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n#endif\n\n/*\n * CreateSharedMemoryAndSemaphores\n *\t\tCreates and initializes shared memory and semaphores.\n */\nvoid", "title": "Core call context: src/backend/storage/ipc/ipci.c:184\u2013198", "paragraphs": []}, {"code": "\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n\n/*\n * Initialize various subsystems, setting up their data structures in\n * shared memory.\n *\n * This is called by the postmaster or by a standalone backend.\n * It is also called by a backend forked from the postmaster in the", "title": "Core call context: src/backend/storage/ipc/ipci.c:256\u2013270", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "18": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.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/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "7eaed5df20e9c94832bf72b758512f55113d727b3cfc426cf7642b2a8ca89334"}, {"url": "https://github.com/postgres/postgres/blob/753057e340da8f22e57c9a409ea7a235fd6a46bd/src/backend/storage/ipc/ipci.c#L58", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "2fa09c75851a35bfb974c97e64f82505e236e56cf480ded7ed7a632cec39d77c"}, {"url": "https://github.com/postgres/postgres/blob/753057e340da8f22e57c9a409ea7a235fd6a46bd/src/backend/storage/ipc/ipci.c#L191", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "2fa09c75851a35bfb974c97e64f82505e236e56cf480ded7ed7a632cec39d77c"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:191", "src/backend/storage/ipc/ipci.c:249"]}, {"code": "\tCreateOrAttachShmemStructs();\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n#endif\n\n/*\n * CreateSharedMemoryAndSemaphores\n *\t\tCreates and initializes shared memory and semaphores.\n */\nvoid", "title": "Core call context: src/backend/storage/ipc/ipci.c:185\u2013199", "paragraphs": []}, {"code": "\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n\n/*\n * Initialize various subsystems, setting up their data structures in\n * shared memory.\n *\n * This is called by the postmaster or by a standalone backend.\n * It is also called by a backend forked from the postmaster in the", "title": "Core call context: src/backend/storage/ipc/ipci.c:243\u2013257", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "19": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.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/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "f9076b0d89e58e5b3f3a19b89d7f21a653fe870329536824bffcf7132964102c"}, {"url": "https://github.com/postgres/postgres/blob/b73d13c32c834a2c8e1c60cb92f79530376cedf1/src/backend/storage/ipc/ipci.c#L31", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "70a3f02d2b29dc71f265f1b41312a7b075d0936a35728439680bf70c67c8f009"}, {"url": "https://github.com/postgres/postgres/blob/b73d13c32c834a2c8e1c60cb92f79530376cedf1/src/backend/storage/ipc/ipci.c#L111", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "70a3f02d2b29dc71f265f1b41312a7b075d0936a35728439680bf70c67c8f009"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:111", "src/backend/storage/ipc/ipci.c:159"]}, {"code": "\tShmemAttachRequested();\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n#endif\n\n/*\n * CreateSharedMemoryAndSemaphores\n *\t\tCreates and initializes shared memory and semaphores.\n */\nvoid", "title": "Core call context: src/backend/storage/ipc/ipci.c:105\u2013119", "paragraphs": []}, {"code": "\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n\n/*\n * Early initialization of various subsystems, giving them a chance to\n * register their shared memory needs before the shared memory segment is\n * allocated.\n */\nvoid", "title": "Core call context: src/backend/storage/ipc/ipci.c:153\u2013167", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "20": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.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/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "f9076b0d89e58e5b3f3a19b89d7f21a653fe870329536824bffcf7132964102c"}, {"url": "https://github.com/postgres/postgres/blob/2c10c2ce4d7bcd57543a49ab402af02a39724e0a/src/backend/storage/ipc/ipci.c#L31", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "70a3f02d2b29dc71f265f1b41312a7b075d0936a35728439680bf70c67c8f009"}, {"url": "https://github.com/postgres/postgres/blob/2c10c2ce4d7bcd57543a49ab402af02a39724e0a/src/backend/storage/ipc/ipci.c#L111", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "70a3f02d2b29dc71f265f1b41312a7b075d0936a35728439680bf70c67c8f009"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:111", "src/backend/storage/ipc/ipci.c:159"]}, {"code": "\tShmemAttachRequested();\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n#endif\n\n/*\n * CreateSharedMemoryAndSemaphores\n *\t\tCreates and initializes shared memory and semaphores.\n */\nvoid", "title": "Core call context: src/backend/storage/ipc/ipci.c:105\u2013119", "paragraphs": []}, {"code": "\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n\n/*\n * Early initialization of various subsystems, giving them a chance to\n * register their shared memory needs before the shared memory segment is\n * allocated.\n */\nvoid", "title": "Core call context: src/backend/storage/ipc/ipci.c:153\u2013167", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}}, "content_hash": "3c5aed0d5f58818dbff898f3358943dd5a8622db5a5d1b25eff2f52f9d74ea11", "imported_at": "2026-09-27T09:57:58.892"}, "snapshot": {"facts": [{"label": "Interface type", "value": "shmem_startup_hook_type"}, {"label": "Header", "value": "src/include/storage/ipc.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/storage/ipc.h#L22", "path": "src/include/storage/ipc.h", "label": "Interface declaration", "sha256": "7eaed5df20e9c94832bf72b758512f55113d727b3cfc426cf7642b2a8ca89334"}, {"url": "https://github.com/postgres/postgres/blob/753057e340da8f22e57c9a409ea7a235fd6a46bd/src/backend/storage/ipc/ipci.c#L58", "path": "src/backend/storage/ipc/ipci.c", "label": "Core definition", "sha256": "2fa09c75851a35bfb974c97e64f82505e236e56cf480ded7ed7a632cec39d77c"}, {"url": "https://github.com/postgres/postgres/blob/753057e340da8f22e57c9a409ea7a235fd6a46bd/src/backend/storage/ipc/ipci.c#L191", "path": "src/backend/storage/ipc/ipci.c", "label": "Call sites", "sha256": "2fa09c75851a35bfb974c97e64f82505e236e56cf480ded7ed7a632cec39d77c"}], "sections": [{"title": "Call sites", "paragraphs": ["src/backend/storage/ipc/ipci.c:191", "src/backend/storage/ipc/ipci.c:249"]}, {"code": "\tCreateOrAttachShmemStructs();\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n#endif\n\n/*\n * CreateSharedMemoryAndSemaphores\n *\t\tCreates and initializes shared memory and semaphores.\n */\nvoid", "title": "Core call context: src/backend/storage/ipc/ipci.c:185\u2013199", "paragraphs": []}, {"code": "\tdsm_postmaster_startup(shim);\n\n\t/*\n\t * Now give loadable modules a chance to set up their shmem allocations\n\t */\n\tif (shmem_startup_hook)\n\t\tshmem_startup_hook();\n}\n\n/*\n * Initialize various subsystems, setting up their data structures in\n * shared memory.\n *\n * This is called by the postmaster or by a standalone backend.\n * It is also called by a backend forked from the postmaster in the", "title": "Core call context: src/backend/storage/ipc/ipci.c:243\u2013257", "paragraphs": []}], "signature": "typedef void (*shmem_startup_hook_type) (void);\nextern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;", "description": ["Now give loadable modules a chance to set up their shmem allocations"]}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}