These steps will assume we have our old primary (pg-old) and the new primary (pg-new). Follow these instructions to complete the upgrade process:
- Optionally, execute this SQL on pg-new to remove the pglogical extension:
DROP EXTENSION pglogical;
- Optionally, remove pglogical from shared_preload_libraries in postgresql.conf, and restart PostgreSQL on pg-new.
- If this has not already been done, enable any high-availability management software such as repmgr, Patroni, or Pacemaker for the pg-new cluster.
- If this has not already been done, enable any backup software such as Barman or automated snapshots for the pg-new cluster.
- Stop any high-availability management software on the pg-old cluster such as repmgr, Patroni, or Pacemaker. ...