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

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent the unnecessary creation of .ready file for the timeline
Date: 2014-11-06 12:26:46
Message-ID: E1XmM9G-0003k1-5X@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3a3b7e316f85566771d3a28ea874e030fb12126b

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-11-06 16:41:27 pgsql: Fix normalization of numeric values in JSONB GIN indexes.
Previous Message Heikki Linnakangas 2014-11-06 12:11:18 pgsql: Move the backup-block logic from XLogInsert to a new file, xlogi