O.1. recovery.conf file merged into postgresql.conf

|O.1. `recovery.conf` file merged into `postgresql.conf`|                            |                                        |                  |                           |
|:-----------------------------------------------------:|----------------------------|----------------------------------------|------------------|---------------------------|
|            [Prev](appendix-obsolete.html)             |[Up](appendix-obsolete.html)|Appendix O. Obsolete or Renamed Features|[Home](index.html)| [Next](default-roles.html)|

---

## O.1. `recovery.conf` file merged into `postgresql.conf`

[]()

 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](release-prior.html) for details on this change.

 On PostgreSQL 12 and above, [archive recovery, streaming replication, and PITR](continuous-archiving.html) are configured using [normal server configuration parameters](runtime-config-replication.html#RUNTIME-CONFIG-REPLICATION-STANDBY). These are set in `postgresql.conf` or via [ALTER SYSTEM](sql-altersystem.html) like any other parameter.

 The server will not start if a `recovery.conf` exists.

 The `trigger_file` []() setting has been renamed to [promote\_trigger\_file](runtime-config-replication.html#GUC-PROMOTE-TRIGGER-FILE).

 The `standby_mode` []() setting has been removed. A `standby.signal` file in the data directory is used instead. See [Standby Server Operation](warm-standby.html#STANDBY-SERVER-OPERATION) for details.

---

|     [Prev](appendix-obsolete.html)     |[Up](appendix-obsolete.html)|           [Next](default-roles.html)          |
|:---------------------------------------|:--------------------------:|----------------------------------------------:|
|Appendix O. Obsolete or Renamed Features|     [Home](index.html)     | O.2. Default Roles Renamed to Predefined Roles|

 // \<![CDATA[ \<-- For SVG support if ('WebSocket' in window) { (function() { function refreshCSS() { var sheets = [].slice.call(document.getElementsByTagName("link")); var head = document.getElementsByTagName("head")[0]; for (var i = 0; i \< sheets.length; ++i) { var elem = sheets[i]; head.removeChild(elem); var rel = elem.rel; if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") { var url = elem.href.replace(/(&|\\?)\_cacheOverride=\\d+/, ''); elem.href = url + (url.indexOf('?') \>= 0 ? '&' : '?') + '\_cacheOverride=' + (new Date().valueOf()); } head.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function(msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; console.log('Live reload enabled.'); })(); } // ]]\>