pgsql: Prevent the unnecessary creation of .ready file for the timeline

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pgsql: Prevent the unnecessary creation of .ready file for the timeline
Дата
Msg-id E1XmM9G-0003k4-5h@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Prevent the unnecessary creation of .ready file for the timeline history file.

Previously .ready file was created for the timeline history file at the end
of an archive recovery even when WAL archiving was not enabled.
This creation is unnecessary and causes .ready file to remain infinitely.

This commit changes an archive recovery so that it creates .ready file for
the timeline history file only when WAL archiving is enabled.

Backpatch to all supported versions.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/38eb5d9e86af67953bad91dd5b9d993b076b37bf

Modified Files
--------------
src/backend/access/transam/xlog.c |    7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Move the backup-block logic from XLogInsert to a new file, xlogi
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: Prevent the unnecessary creation of .ready file for the timeline