PostgreSQL 11 and below used a configuration file named
recovery.conf to manage replicas and standbys. Support for this file was removed in PostgreSQL 12. See the release notes for PostgreSQL 12 for details on this change.
On PostgreSQL 12 and above, archive recovery, streaming replication, and PITR are configured using normal server configuration parameters. These are set in
postgresql.conf or via ALTER SYSTEM like any other parameter.
The server will not start if a
PostgreSQL 15 and below had a setting
trigger_file before 12. Use
pg_ctl promote or call
pg_promote() to promote a standby instead.
standby_mode setting has been removed. A
standby.signal file in the data directory is used instead. See Standby Server Operation for details.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.