summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-07-10 08:51:10 +0900
committerMichael Paquier <michael@paquier.xyz>2018-07-10 08:51:10 +0900
commit8a00b96aa994b5c2c1a03c70e7a4719c919e8798 (patch)
treea6f201c4f5959a1d5e884554e1d3511bfec0285a /doc/src
parent9a4059d4ff1100e10d2aaadb136a04a407351249 (diff)
Add pg_rewind --no-sync
This is an option consistent with what pg_dump and pg_basebackup provide which is useful for leveraging the I/O effort when testing things, not to be used in a production environment. Author: Michael Paquier Reviewed-by: Heikki Linnakangas Discussion: https://postgr.es/m/20180325122607.GB3707@paquier.xyz
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pg_rewind.sgml16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/pg_rewind.sgml b/doc/src/sgml/ref/pg_rewind.sgml
index ee35ce18b08..e2662bbf819 100644
--- a/doc/src/sgml/ref/pg_rewind.sgml
+++ b/doc/src/sgml/ref/pg_rewind.sgml
@@ -172,6 +172,22 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
+ <term><option>-N</option></term>
+ <term><option>--no-sync</option></term>
+ <listitem>
+ <para>
+ By default, <command>pg_rewind</command> will wait for all files
+ to be written safely to disk. This option causes
+ <command>pg_rewind</command> to return without waiting, which is
+ faster, but means that a subsequent operating system crash can leave
+ the synchronized data folder corrupt. Generally, this option is
+ useful for testing but should not be used when creating a production
+ installation.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-P</option></term>
<term><option>--progress</option></term>
<listitem>