合 cannot create PGC_POSTMASTER variables after startup
Tags: PG故障处理PostgreSQL
现象
1 2 3 4 5 6 7 8 | db1=# CREATE EXTENSION pg_squeeze; FATAL: cannot create PGC_POSTMASTER variables after startup server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Succeeded. psql (14.0, server 14.7 (Debian 14.7-1.pgdg110+1)) db1=# |
原因
需要先修改:
1 | shared_preload_libraries = 'pg_squeeze' |
然后才能执行:
1 | CREATE EXTENSION pg_squeeze; |