Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> 2. shmem_startup_hook doesn't allow multiple modules to create shmem.
> All callers of the hook think they are the only caller, causing chaos if
> multiple people need this.
The only known caller, contrib/pg_stat_statements/, does not think that.
Do what it does.
I agree it's undocumented, but so are the other hooks ...
regards, tom lane