Skip to content

Glossary: PostgreSQL Beyond the Basics

Failover

Also written: promote, pg_promote()

Switching to the replica when the primary fails. You promote the replica with `pg_promote()` or `pg_ctl promote`, and rebuild the old primary as a replica.

Where the book teaches it

Related terms

Primary, replica, standbyPatroni, repmgr