]> granicus.if.org Git - postgresql/commit
If a base backup is cancelled by server shutdown or crash, throw an error
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 27 Apr 2010 09:25:18 +0000 (09:25 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 27 Apr 2010 09:25:18 +0000 (09:25 +0000)
commit3efba16d569ef00f8db20eb7c1f3ac80140e5902
tree246d388ebad62b1f5834474936348b134b43ecc3
parent3456cf1831feacd066037856cba044cce3935e54
If a base backup is cancelled by server shutdown or crash, throw an error
in WAL recovery when it sees the shutdown checkpoint record. It's more
user-friendly to find out about it at that point than at the end of
recovery, and you're not left wondering why your hot standby server never
opens up for read-only connections.
src/backend/access/transam/xlog.c