mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix documentation & config inconsistencies around 428b1d6b2
.
Several issues: 1) checkpoint_flush_after doc and code disagreed about the default 2) new GUCs were missing from postgresql.conf.sample 3) Outdated source-code comment about bgwriter_flush_after's default 4) Sub-optimal categories assigned to new GUCs 5) Docs suggested backend_flush_after is PGC_SIGHUP, but it's PGC_USERSET. 6) Spell out int as integer in the docs, as done elsewhere Reported-By: Magnus Hagander, Fujii Masao Discussion: CAHGQGwETyTG5VYQQ5C_srwxWX7RXvFcD3dKROhvAWWhoSBdmZw@mail.gmail.com
This commit is contained in:
@ -1884,7 +1884,7 @@ include_dir 'conf.d'
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="guc-bgwriter-flush-after" xreflabel="bgwriter_flush_after">
|
||||
<term><varname>bgwriter_flush_after</varname> (<type>int</type>)
|
||||
<term><varname>bgwriter_flush_after</varname> (<type>integer</type>)
|
||||
<indexterm>
|
||||
<primary><varname>bgwriter_flush_after</> configuration parameter</primary>
|
||||
</indexterm>
|
||||
@ -2014,7 +2014,7 @@ include_dir 'conf.d'
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="guc-backend-flush-after" xreflabel="backend_flush_after">
|
||||
<term><varname>backend_flush_after</varname> (<type>int</type>)
|
||||
<term><varname>backend_flush_after</varname> (<type>integer</type>)
|
||||
<indexterm>
|
||||
<primary><varname>backend_flush_after</> configuration parameter</primary>
|
||||
</indexterm>
|
||||
@ -2036,8 +2036,6 @@ include_dir 'conf.d'
|
||||
and <literal>2MB</literal>. The default is <literal>128Kb</> on
|
||||
Linux, <literal>0</> elsewhere. (Non-default values of
|
||||
<symbol>BLCKSZ</symbol> change the default and maximum.)
|
||||
This parameter can only be set in the <filename>postgresql.conf</>
|
||||
file or on the server command line.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2607,7 +2605,7 @@ include_dir 'conf.d'
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="guc-checkpoint-flush-after" xreflabel="checkpoint_flush_after">
|
||||
<term><varname>checkpoint_flush_after</varname> (<type>int</type>)
|
||||
<term><varname>checkpoint_flush_after</varname> (<type>integer</type>)
|
||||
<indexterm>
|
||||
<primary><varname>checkpoint_flush_after</> configuration parameter</primary>
|
||||
</indexterm>
|
||||
@ -2626,7 +2624,7 @@ include_dir 'conf.d'
|
||||
than the OS's page cache, where performance might degrade. This
|
||||
setting may have no effect on some platforms. The valid range is
|
||||
between <literal>0</literal>, which disables controlled writeback,
|
||||
and <literal>2MB</literal>. The default is <literal>128Kb</> on
|
||||
and <literal>2MB</literal>. The default is <literal>256Kb</> on
|
||||
Linux, <literal>0</> elsewhere. (Non-default values of
|
||||
<symbol>BLCKSZ</symbol> change the default and maximum.)
|
||||
This parameter can only be set in the <filename>postgresql.conf</>
|
||||
|
Reference in New Issue
Block a user