summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2017-05-02 11:12:30 +0200
committerMagnus Hagander <magnus@hagander.net>2017-05-02 11:12:30 +0200
commit34fc61673829f0cb63811fb63cc3c510fc2aadfc (patch)
treed29b087bf65a835a6bf76ea0124f2020000e2123 /doc/src
parenta99448ab4515aaadc17647e53633f418893f5adf (diff)
Change hot_standby default value to 'on'
This goes together with the changes made to enable replication on the sending side by default (wal_level, max_wal_senders etc) by making the receiving stadby node also enable it by default. Huong Dangminh
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml2
-rw-r--r--doc/src/sgml/high-availability.sgml4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index e02b0c80df0..0b9e3002fb6 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -3227,7 +3227,7 @@ ANY <replaceable class="parameter">num_sync</replaceable> ( <replaceable class="
<para>
Specifies whether or not you can connect and run queries during
recovery, as described in <xref linkend="hot-standby">.
- The default value is <literal>off</literal>.
+ The default value is <literal>on</literal>.
This parameter can only be set at server start. It only has effect
during archive recovery or in standby mode.
</para>
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml
index 9e2be5f67ca..22ac10f4284 100644
--- a/doc/src/sgml/high-availability.sgml
+++ b/doc/src/sgml/high-availability.sgml
@@ -2057,8 +2057,8 @@ if (!triggered)
<title>Administrator's Overview</title>
<para>
- If <varname>hot_standby</> is turned <literal>on</> in
- <filename>postgresql.conf</> and there is a <filename>recovery.conf</>
+ If <varname>hot_standby</> is <literal>on</> in <filename>postgresql.conf</>
+ (the default value) and there is a <filename>recovery.conf</>
file present, the server will run in Hot Standby mode.
However, it may take some time for Hot Standby connections to be allowed,
because the server will not accept connections until it has completed