]> granicus.if.org Git - postgresql/commit
If we don't have a backup-end-location, don't claim we've reached it.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 28 Nov 2012 09:45:30 +0000 (11:45 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 28 Nov 2012 13:14:19 +0000 (15:14 +0200)
commitffc3172e4e3caee0327a7e4126b5e7a3c8a1c8cf
tree97022ddcd4336ff7a45be41314db9cb6ae08b033
parent786afc1ce53126feecf4d02e96e7455669ccbf5a
If we don't have a backup-end-location, don't claim we've reached it.

This was apparently a typo, which caused recovery to think that it
immediately reached the end of backup, and allowed the database to start
up too early.

Reported by Jeff Janes. Backpatch to 9.2, where this code was introduced.
src/backend/access/transam/xlog.c