]> granicus.if.org Git - postgresql/commit
Further fix to the mode where we enter archive recovery after crash recovery.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 7 Mar 2013 10:12:33 +0000 (12:12 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 7 Mar 2013 10:12:33 +0000 (12:12 +0200)
commitd009f9036d62762b6a261055e7417ae911233853
tree204497ac11f6334392b1b3cd8c908d5f926777cd
parentc52ba36bd78a6e67d0ac30de8c71fb256cbaf026
Further fix to the mode where we enter archive recovery after crash recovery.

I missed to returns in the middle of ReadRecord function in my previous fix.
If a WAL file was not found at all during crash recovery, XLogPageRead would
return 'false', and ReadRecord would return without entering archive recovery.

9.2 only. In master, the code is structured differently and does not have this
problem.

Kyotaro HORIGUCHI, Mitsumasa KONDO and me.
src/backend/access/transam/xlog.c