File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,13 @@ PostgreSQL documentation
260
260
recycle transaction log files even if the backups are not properly
261
261
archived, since there is no command that fails. This can be worked
262
262
around by having an <xref linkend="guc-archive-command"> that fails
263
- when the file has not been properly archived yet.
263
+ 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.
264
270
</para>
265
271
266
272
</refsect1>
You can’t perform that action at this time.
0 commit comments