OSDN Git Service

If pg_stop_backup() is called just after switching to a new xlog file,
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 3 Dec 2008 08:20:11 +0000 (08:20 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 3 Dec 2008 08:20:11 +0000 (08:20 +0000)
commitb457b2a24e811e8d264011bc7be826c4fb7455b4
treeb807773d45ba66df0aa472b2ad7d9143f74ee6c4
parentb0729b8d4e521490cb08f182430f4fc7e08209a8
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