We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dd8e59 commit 7782012Copy full SHA for 7782012
doc/src/sgml/ref/pg_receivexlog.sgml
@@ -260,7 +260,13 @@ PostgreSQL documentation
260
recycle transaction log files even if the backups are not properly
261
archived, since there is no command that fails. This can be worked
262
around by having an <xref linkend="guc-archive-command"> that fails
263
- when the file has not been properly archived yet.
+ when the file has not been properly archived yet, for example:
264
+<programlisting>
265
+archive_command = 'sleep 5 && test -f /mnt/server/archivedir/%f'
266
+</programlisting>
267
+ The initial timeout is necessary because
268
+ <application>pg_receivexlog</application> works using asynchronous
269
+ replication and can therefor be slightly behind the master.
270
</para>
271
272
</refsect1>
0 commit comments