If pg_stop_backup() is called just after switching to a new xlog file,
authorHeikki Linnakangas <[email protected]>
Wed, 3 Dec 2008 08:20:11 +0000 (08:20 +0000)
committerHeikki Linnakangas <[email protected]>
Wed, 3 Dec 2008 08:20:11 +0000 (08:20 +0000)
commit96689ea0f79eaf092dc0d495d335da620bc39afa
tree3d1dae33cd386aa1ab6fab80cc003a4d6c65835f
parentd534456b126e612bf8fd5a11aa5b302fedfd3f46
If pg_stop_backup() is called just after switching to a new xlog file,
wait for the previous instead of the new file to be archived.

Based on patch by Simon Riggs.
src/backend/access/transam/xlog.c