pgsql: Further fix to the mode where we enter archive recovery after cr

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Further fix to the mode where we enter archive recovery after cr
Date: 2013-03-07 10:34:33
Message-ID: E1UDY9h-0003Zl-Dk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Kevin Grittner 2013-03-07 15:55:29 Re: Materialized views WIP patch
Previous Message Simon Riggs 2013-03-07 08:55:04 Re: Materialized views WIP patch