shmem_startup_hook 是一个 钩子,用于扩展程序在服务器启动时初始化共享内存。
shmem_startup_hook
shmem_startup_hook 在 PostgreSQL 8.4 中添加。
可以在以下 扩展 中找到使用示例