Configuring pg_squeeze
Add
pg_squeezeto theshared_preload_librariesparameter:shared_preload_libraries = 'pg_squeeze'
Note
If
shared_preload_librarieshas other extensions, then you can addpg_squeezeto the list. The order doesn't matter.Add these changes to
postgresql.conf:wal_level = logical max_replication_slots = 1 # ... or add 1 to the current value.
Restart Postgres.
Create the
pg_squeezeextension in your database:CREATE EXTENSION pg_squeeze;
Note
When upgrading a database cluster with pg_squeeze installed (either using pg_dumpall/pg_restore or pg_upgrade), make sure that the new cluster has pg_squeeze in shared_preload_libraries before you upgrade. Otherwise the upgrade fails.
Could this page be better? Report a problem or suggest an addition!