February 2020
Intermediate to advanced
734 pages
38h 13m
English
Imagine our PgBouncer server is on pgha-proxy, our old PostgreSQL server is pgha1 with an IP address of 10.0.30.1, and the new target is pgha2 with an IP address of 10.0.30.2. Follow these steps to switch servers:
[databases] * = host=pgha2
psql -U postgres -h pgha-proxy -p 6432 -c "RECONNECT;" pgbouncer
Read now
Unlock full access