Commit a9f72b40 authored by Robert Haas's avatar Robert Haas

Improve recovery.conf.sample comments.

Jehan-Guillaume de Rorthais, with some additional wordsmithing by me.
parent a755ea33
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
# ------------------------------- # -------------------------------
# #
# Edit this file to provide the parameters that PostgreSQL needs to # Edit this file to provide the parameters that PostgreSQL needs to
# perform an archive recovery of a database, or to act as a log-streaming # perform an archive recovery of a database, or to act as a replication
# replication standby. # standby.
# #
# If "recovery.conf" is present in the PostgreSQL data directory, it is # If "recovery.conf" is present in the PostgreSQL data directory, it is
# read on postmaster startup. After successful recovery, it is renamed # read on postmaster startup. After successful recovery, it is renamed
...@@ -88,21 +88,27 @@ ...@@ -88,21 +88,27 @@
# STANDBY SERVER PARAMETERS # STANDBY SERVER PARAMETERS
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# #
# When standby_mode is enabled, the PostgreSQL server will work as # standby_mode
# a standby. It tries to connect to the primary according to the #
# connection settings primary_conninfo, and receives XLOG records # When standby_mode is enabled, the PostgreSQL server will work as a
# continuously. # standby. It will continuously wait for the additional XLOG records, using
# restore_command and/or primary_conninfo.
# #
#standby_mode = off #standby_mode = off
# #
# primary_conninfo
#
# If set, the PostgreSQL server will try to connect to the primary using this
# connection string and receive XLOG records continuously.
#
#primary_conninfo = '' # e.g. 'host=localhost port=5432' #primary_conninfo = '' # e.g. 'host=localhost port=5432'
# #
# #
# By default, a standby server keeps streaming XLOG records from the # By default, a standby server keeps restoring XLOG records from the
# primary indefinitely. If you want to stop streaming and finish recovery, # primary indefinitely. If you want to stop the standby mode, finish recovery
# opening up the system in read/write mode, specify path to a trigger file. # and open the system in read/write mode, specify path to a trigger file.
# Server will poll the trigger file path periodically and stop streaming # The server will poll the trigger file path periodically and start as a
# when it's found. # primary server when it's found.
# #
#trigger_file = '' #trigger_file = ''
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment