pgsql: Allow HotStandbyActiveInReplay() to be called in single user mod

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Allow HotStandbyActiveInReplay() to be called in single user mod
Дата
Msg-id E1Z1w2u-0004ns-VF@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Allow HotStandbyActiveInReplay() to be called in single user mode.

HotStandbyActiveInReplay, introduced in 061b079f, only allowed WAL
replay to happen in the startup process, missing the single user case.

This buglet is fairly harmless as it only causes problems when single
user mode in an assertion enabled build is used to replay a btree vacuum
record.

Backpatch to 9.2. 061b079f was backpatched further, but the assertion
was not.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d1b958218ac183d0e88348341ff6ba31397086ad

Modified Files
--------------
src/backend/access/transam/xlog.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Allow HotStandbyActiveInReplay() to be called in single user mod
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: Refactor WAL segment copying code.