ossc-db / pg_store_plans

Store execution plans like pg_stat_statements does for queries.
http://ossc-db.github.io/pg_store_plans/
Other
54 stars 26 forks source link

pg_store_plans not compatible with PostgreSQL 15.1 #27

Open epolkerman opened 1 year ago

epolkerman commented 1 year ago

Installed pg_store_plans version 1.6.1 together with postgresql 15.1.

In postgresql.conf following was added: shared_preload_libraries = 'pg_store_plans, pg_stat_statements'

When trying to (re)start the postgresql server, it refuses to start: pg_ctl: could not start server Examine the log output.

postgres logfile: pid:1420 xid:0 ip: FATAL: cannot request additional shared memory outside shmem_request_hook pid:1420 xid:0 ip: LOG: database system is shut down

rjuju commented 1 year ago

Hi,

This should have been fixed as of b34f6660597bd050340aa3b498d107138d15aed3. Can you try to compile current HEAD?