pgsql: Prevent the unnecessary creation of .ready file for the timeline - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Prevent the unnecessary creation of .ready file for the timeline
Date
Msg-id E1XmM9G-0003jz-5C@gemulon.postgresql.org
Whole thread Raw
List 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_4_STABLE

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

Modified Files
--------------
src/backend/access/transam/timeline.c |    8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Prevent the unnecessary creation of .ready file for the timeline
Next
From: Fujii Masao
Date:
Subject: pgsql: Prevent the unnecessary creation of .ready file for the timeline