pgsql: Further fix to the mode where we enter archive recovery after cr
pgsql: Further fix to the mode where we enter archive recovery after cr
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/d009f9036d62762b6a261055e7417ae911233853 Modified Files -------------- src/backend/access/transam/xlog.c | 25 +++++++++++++++++++++++-- 1 files changed, 23 insertions(+), 2 deletions(-)