Q.1. recovery.conf file merged intopostgresql.conf | ||||
|---|---|---|---|---|
| Prev | Up | Appendix Q. Obsolete or Renamed Features | Home | Next |
Q.1. recovery.conf file merged intopostgresql.conf#
Postgres Pro 11 and below used a configuration file namedrecovery.conf to manage replicas and standbys. Support for this file was removed in Postgres Pro 12. Seethe release notes for PostgreSQL 12 for details on this change.
On Postgres Pro 12 and above,archive recovery, streaming replication, and PITR are configured usingnormal server configuration parameters. These are set inpostgresql.conf or viaALTER SYSTEM like any other parameter.
The server will not start if arecovery.conf exists.
Postgres Pro 15 and below had a settingpromote_trigger_file, ortrigger_file before 12. Usepg_ctl promote or callpg_promote() to promote a standby instead.
Thestandby_mode setting has been removed. Astandby.signal file in the data directory is used instead. SeeStandby Server Operation for details.