shmem_startup_hook
A hook for extensions to initialize shared memory at server startup
shmem_startup_hook
is a hook for extensions to initialize shared memory at server startup.
shmem_startup_hook
was added in PostgreSQL 8.4 (commit dad75a62).
Examples
Usage examples can be found in following extensions: