]> granicus.if.org Git - postgresql/commit
Remove piece of code to zero out minRecoveryPoint when starting crash
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 8 Feb 2010 09:08:51 +0000 (09:08 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 8 Feb 2010 09:08:51 +0000 (09:08 +0000)
commit4cea603128e53d47a8520b4f80332d95ec77589f
tree199f185a3c4d92dd2e75d76ec930bf2d86b7dec3
parent9a75803b1a4ba01c1e02284146fa7cf8a0cf8cd1
Remove piece of code to zero out minRecoveryPoint when starting crash
recovery. It's zeroed out whenever a checkpoint is written, so the only
scenario where the removed code did anything is when you kill archive
recovery, remove recovery.conf, and start up the server, so that it goes
into crash recovery instead. That's a "don't do that" scenario, but it
seems better to not clear minRecoveryPoint but instead update it like we
do in archive recovery, which is what will now happen.
src/backend/access/transam/xlog.c