Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit915a29a

Browse files
committed
Add support for generating minimal recovery.conf when doing base backups
Adds commandline option -R to pg_basebackup that creates a recovery.conf whichenables standby mode using the same parameters that pg_basebackup used toconnect to the master, and writes it into the output directory (or injects itin the tar file when tar format is used).Zoltan Boszormenyi, modified by Magnus Hagander, reviewed by Amit Kapila & Fujii Masao
1 parent940d136 commit915a29a

File tree

2 files changed

+332
-39
lines changed

2 files changed

+332
-39
lines changed

‎doc/src/sgml/ref/pg_basebackup.sgml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,20 @@ PostgreSQL documentation
188188
</listitem>
189189
</varlistentry>
190190

191+
<varlistentry>
192+
<term><option>-R</option></term>
193+
<term><option>--write-recovery-conf</option></term>
194+
<listitem>
195+
196+
<para>
197+
Write a minimal recovery.conf in the output directory (or into
198+
the base archive file when using tar format) to ease setting
199+
up a standby server.
200+
</para>
201+
202+
</listitem>
203+
</varlistentry>
204+
191205
<varlistentry>
192206
<term><option>-x</option></term>
193207
<term><option>--xlog</option></term>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp