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

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Further fix to the mode where we enter archive recovery after cr
Дата
Msg-id E1UDY9h-0003Zl-Dk@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Arrange to cache FdwRoutine structs in foreign tables' relcache
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix tli history file fetching, broken by the archive after crash