If pg_stop_backup() is called just after switching to a new xlog file,
commita68488c216c37b587a255b3779f93716b5742e46
authorheikki <heikki>
Wed, 3 Dec 2008 08:20:11 +0000 (3 08:20 +0000)
committerheikki <heikki>
Wed, 3 Dec 2008 08:20:11 +0000 (3 08:20 +0000)
treea337e3c0b487b952787b2a121076f1444ed77efc
parent0bde18f425993df9a0ecb3396b1b75ec364f9b1e
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