|
3 | 3 | # ------------------------------- |
4 | 4 | # |
5 | 5 | # Edit this file to provide the parameters that PostgreSQL needs to |
6 | | -# perform an archive recovery of a database, or to act as alog-streaming |
7 | | -#replicationstandby. |
| 6 | +# perform an archive recovery of a database, or to act as areplication |
| 7 | +# standby. |
8 | 8 | # |
9 | 9 | # If "recovery.conf" is present in the PostgreSQL data directory, it is |
10 | 10 | # read on postmaster startup. After successful recovery, it is renamed |
|
88 | 88 | # STANDBY SERVER PARAMETERS |
89 | 89 | #--------------------------------------------------------------------------- |
90 | 90 | # |
91 | | -# When standby_mode is enabled, the PostgreSQL server will work as |
92 | | -# a standby. It tries to connect to the primary according to the |
93 | | -# connection settings primary_conninfo, and receives XLOG records |
94 | | -# continuously. |
| 91 | +# standby_mode |
| 92 | +# |
| 93 | +# When standby_mode is enabled, the PostgreSQL server will work as a |
| 94 | +# standby. It will continuously wait for the additional XLOG records, using |
| 95 | +# restore_command and/or primary_conninfo. |
95 | 96 | # |
96 | 97 | #standby_mode = off |
97 | 98 | # |
| 99 | +# primary_conninfo |
| 100 | +# |
| 101 | +# If set, the PostgreSQL server will try to connect to the primary using this |
| 102 | +# connection string and receive XLOG records continuously. |
| 103 | +# |
98 | 104 | #primary_conninfo = ''# e.g. 'host=localhost port=5432' |
99 | 105 | # |
100 | 106 | # |
101 | | -# By default, a standby server keepsstreaming XLOG records from the |
102 | | -# primary indefinitely. If you want to stopstreaming andfinish recovery, |
103 | | -#opening up the system in read/write mode, specify path to a trigger file. |
104 | | -#Serverwill poll the trigger file path periodically andstop streaming |
105 | | -# when it's found. |
| 107 | +# By default, a standby server keepsrestoring XLOG records from the |
| 108 | +# primary indefinitely. If you want to stopthe standby mode,finish recovery |
| 109 | +#and open the system in read/write mode, specify path to a trigger file. |
| 110 | +#The serverwill poll the trigger file path periodically andstart as a |
| 111 | +#primary serverwhen it's found. |
106 | 112 | # |
107 | 113 | #trigger_file = '' |
108 | 114 | # |
|