February 2020
Intermediate to advanced
734 pages
38h 13m
English
For this scenario, the server at 10.0.30.1 is still the primary PostgreSQL server. Follow these steps to change an asynchronous PostgreSQL server into a synchronous replica:
primary_conninfo = 'host=10.0.30.1 user=rep_user application_name=pgha2
systemctl restart postgresql@12-main
systemctl restart postgresql-12
synchronous_commit = 'on' synchronous_standby_names = 'pgha2'
Read now
Unlock full access