Skip to content

Commit 228b048

Browse files
committed
Change true/false to on/off.
We prefer to use on/off than true/false for boolean configuration parameters in the documentation, but there were a few places where true/false were still used. Dicussion: https://postgr.es/m/20181202.072508.618341295047874293.t-ishii%40sraoss.co.jp
1 parent 71a05b2 commit 228b048

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

doc/src/sgml/config.sgml

+13-13
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ include_dir 'conf.d'
12491249
than the client's.
12501250
This parameter can only be set in the <filename>postgresql.conf</filename>
12511251
file or on the server command line.
1252-
The default is <literal>true</literal>.
1252+
The default is <literal>on</literal>.
12531253
</para>
12541254

12551255
<para>
@@ -1404,12 +1404,12 @@ include_dir 'conf.d'
14041404
This parameter determines whether the passphrase command set by
14051405
<varname>ssl_passphrase_command</varname> will also be called during a
14061406
configuration reload if a key file needs a passphrase. If this
1407-
parameter is false (the default), then
1407+
parameter is off (the default), then
14081408
<varname>ssl_passphrase_command</varname> will be ignored during a
14091409
reload and the SSL configuration will not be reloaded if a passphrase
14101410
is needed. That setting is appropriate for a command that requires a
14111411
TTY for prompting, which might not be available when the server is
1412-
running. Setting this parameter to true might be appropriate if the
1412+
running. Setting this parameter to on might be appropriate if the
14131413
passphrase is obtained from a file, for example.
14141414
</para>
14151415
<para>
@@ -3330,14 +3330,14 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
33303330
<listitem>
33313331
<para>
33323332
Specifies whether to stop just after the specified recovery target
3333-
(<literal>true</literal>), or just before the recovery target
3334-
(<literal>false</literal>).
3333+
(<literal>on</literal>), or just before the recovery target
3334+
(<literal>off</literal>).
33353335
Applies when <xref linkend="guc-recovery-target-lsn"/>,
33363336
<xref linkend="guc-recovery-target-time"/>, or
33373337
<xref linkend="guc-recovery-target-xid"/> is specified.
33383338
This setting controls whether transactions
33393339
having exactly the target WAL location (LSN), commit time, or transaction ID, respectively, will
3340-
be included in the recovery. Default is <literal>true</literal>.
3340+
be included in the recovery. Default is <literal>on</literal>.
33413341
</para>
33423342
</listitem>
33433343
</varlistentry>
@@ -8675,8 +8675,8 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
86758675
</term>
86768676
<listitem>
86778677
<para>
8678-
If true, any error will terminate the current session. By default,
8679-
this is set to false, so that only FATAL errors will terminate the
8678+
If on, any error will terminate the current session. By default,
8679+
this is set to off, so that only FATAL errors will terminate the
86808680
session.
86818681
</para>
86828682
</listitem>
@@ -8690,9 +8690,9 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
86908690
</term>
86918691
<listitem>
86928692
<para>
8693-
When set to true, which is the default, <productname>PostgreSQL</productname>
8693+
When set to on, which is the default, <productname>PostgreSQL</productname>
86948694
will automatically reinitialize after a backend crash. Leaving this
8695-
value set to true is normally the best way to maximize the availability
8695+
value set to on is normally the best way to maximize the availability
86968696
of the database. However, in some circumstances, such as when
86978697
<productname>PostgreSQL</productname> is being invoked by clusterware, it may be
86988698
useful to disable the restart so that the clusterware can gain
@@ -8709,7 +8709,7 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
87098709
</term>
87108710
<listitem>
87118711
<para>
8712-
When set to false, which is the default, <productname>PostgreSQL</productname>
8712+
When set to off, which is the default, <productname>PostgreSQL</productname>
87138713
will raise a PANIC-level error on failure to flush modified data files
87148714
to the filesystem. This causes the database server to crash.
87158715
</para>
@@ -8724,9 +8724,9 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
87248724
faulty hardware.
87258725
</para>
87268726
<para>
8727-
If set to true, <productname>PostgreSQL</productname> will instead
8727+
If set to on, <productname>PostgreSQL</productname> will instead
87288728
report an error but continue to run so that the data flushing
8729-
operation can be retried in a later checkpoint. Only set it to true
8729+
operation can be retried in a later checkpoint. Only set it to on
87308730
after investigating the operating system's treatment of buffered data
87318731
in case of write-back failure.
87328732
</para>

0 commit comments

Comments
 (0)