forked from postgres/postgres
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a basic "pause" functionality to pg_standby
Modify pg_standby to allow the specification of a "pause" file. If said file exists when pg_standby is invoked, it will sleep for 1 second and then recheck until the file no longer exists before proceeding with the regular archive recovery codepaths. When not specified, this has no affect on the behavior of pg_standby. Example: restore_command = pg_standby -p /tmp/pause_recovery archiveDir %f %p
- Loading branch information
David Christensen
committed
Feb 12, 2011
1 parent
d5478c3
commit 85ec4d7
Showing
1 changed file
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters