mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
pg_receivewal: Add --no-sync option.
Michael Paquier, reviewed by Kuntal Ghosh and by me. I did a little wordsmithing on the documentation, too. Discussion: http://postgr.es/m/CAB7nPqTuXuyEoVKcWcExh_b0uAjgWd_14KfGLrCTccBZ=VA0KA@mail.gmail.com
This commit is contained in:
@ -135,6 +135,23 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>--no-sync</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
This option causes <command>pg_receivewal</command> to not force WAL
|
||||
data to be flushed to disk. This is faster, but means that a
|
||||
subsequent operating system crash can leave the WAL segments corrupt.
|
||||
Generally, this option is useful for testing but should not be used
|
||||
when doing WAL archiving on a production deployment.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This option is incompatible with <literal>--synchronous</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-s <replaceable class="parameter">interval</replaceable></option></term>
|
||||
<term><option>--status-interval=<replaceable class="parameter">interval</replaceable></option></term>
|
||||
|
Reference in New Issue
Block a user