mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
The new appendix groups information on renamed or removed settings, commands, etc into an out-of-the-way part of the docs. The original id elements are retained in each subsection to ensure that the same filenames are produced for HTML docs. This prevents /current/ links on the web from breaking, and allows users of the web docs to follow links from old version pages to info on the changes in the new version. Prior to this change, a link to /current/ for renamed sections like the recovery.conf docs would just 404. Similarly if someone searched for recovery.conf they would find the pg11 docs, but there would be no /12/ or /current/ link, so they couldn't easily find out that it was removed in pg12 or how to adapt. Index entries are also added so that there's a breadcrumb trail for users to follow when they know the old name, but not what we changed it to. So a user who is trying to find out how to set standby_mode in PostgreSQL 12+, or where pg_resetxlog went, now has more chance of finding that information. Craig Ringer and Stephen Frost Reviewed-by: Euler Taveira Discussion: https://postgr.es/m/CAGRY4nzPNOyYQ_1-pWYToUVqQ0ThqP5jdURnJMZPm539fdizOg%40mail.gmail.com Backpatch-through: 10
59 lines
1.9 KiB
Plaintext
59 lines
1.9 KiB
Plaintext
<!-- doc/src/sgml/obsolete-recovery-config.sgml -->
|
|
<!--
|
|
See doc/src/sgml/obsolete.sgml for why this file exists. Do not change the id attribute.
|
|
-->
|
|
|
|
<sect1 id="recovery-config" xreflabel="recovery.conf">
|
|
<title><filename>recovery.conf</filename> file merged into <filename>postgresql.conf</filename></title>
|
|
|
|
<indexterm>
|
|
<primary><filename>recovery.conf</filename></primary>
|
|
</indexterm>
|
|
|
|
<para>
|
|
PostgreSQL 11 and below used a configuration file named
|
|
<filename>recovery.conf</filename>
|
|
<indexterm><primary>recovery.conf</primary></indexterm>
|
|
to manage replicas and standbys. Support for this file was removed in PostgreSQL 12. See
|
|
<link linkend="release-prior">the release notes for PostgreSQL 12</link> for details
|
|
on this change.
|
|
</para>
|
|
|
|
<para>
|
|
On PostgreSQL 12 and above,
|
|
<link linkend="continuous-archiving">archive recovery, streaming replication, and PITR</link>
|
|
are configured using
|
|
<link linkend="runtime-config-replication-standby">normal server configuration parameters</link>.
|
|
These are set in <filename>postgresql.conf</filename> or via
|
|
<link linkend="sql-altersystem">ALTER SYSTEM</link>
|
|
like any other parameter.
|
|
</para>
|
|
|
|
<para>
|
|
The server will not start if a <filename>recovery.conf</filename> exists.
|
|
</para>
|
|
|
|
<para>
|
|
The
|
|
<literal>trigger_file</literal>
|
|
<indexterm>
|
|
<primary>trigger_file</primary>
|
|
<see>promote_trigger_file</see>
|
|
</indexterm>
|
|
setting has been renamed to
|
|
<xref linkend="guc-promote-trigger-file"/>.
|
|
</para>
|
|
|
|
<para>
|
|
The
|
|
<literal>standby_mode</literal>
|
|
<indexterm>
|
|
<primary>standby_mode</primary>
|
|
<see>standby.signal</see>
|
|
</indexterm>
|
|
setting has been removed. A <filename>standby.signal</filename> file in the data directory
|
|
is used instead. See <xref linkend="standby-server-operation"/> for details.
|
|
</para>
|
|
|
|
</sect1>
|