diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-09-30 12:57:35 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-09-30 12:57:35 -0300 |
commit | 927474ce1a2498ddb617c6113a88ca61fbba161d (patch) | |
tree | 990d667eb8503efe288d00ddf08a0c81ebfe876c /doc/src | |
parent | a12c75a1048295f03cf85533d6dcab5072ba262b (diff) |
pg_rewind: Allow writing recovery configuration
This is provided with a new switch --write-recovery-conf and reuses the
pg_basebackup code.
Author: Paul Guo, Jimmy Yih, Ashwin Agrawal
Reviewed-by: Alexey Kondratov, Michaël Paquier, Álvaro Herrera
Discussion: https://postgr.es/m/CAEET0ZEffUkXc48pg2iqARQgGRYDiiVxDu+yYek_bTwJF+q=Uw@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_rewind.sgml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/pg_rewind.sgml b/doc/src/sgml/ref/pg_rewind.sgml index a06e5ac5e11..fbf454803b5 100644 --- a/doc/src/sgml/ref/pg_rewind.sgml +++ b/doc/src/sgml/ref/pg_rewind.sgml @@ -181,6 +181,19 @@ PostgreSQL documentation </varlistentry> <varlistentry> + <term><option>-R</option></term> + <term><option>--write-recovery-conf</option></term> + <listitem> + <para> + Create <filename>standby.signal</filename> and append connection + settings to <filename>postgresql.auto.conf</filename> in the output + directory. <literal>--source-server</literal> is mandatory with + this option. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-n</option></term> <term><option>--dry-run</option></term> <listitem> |