]> granicus.if.org Git - postgresql/commit
Prevent the unnecessary creation of .ready file for the timeline history file.
authorFujii Masao <fujii@postgresql.org>
Thu, 6 Nov 2014 12:24:40 +0000 (21:24 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 6 Nov 2014 12:24:40 +0000 (21:24 +0900)
commit5332b8cec54192c5d7b0ad67dc5668ccb917eeef
treea8abe41f1d01b5641cd77c7f2b82dd5c44a32fa1
parent2076db2aea766c4c828dccc34ae35f614129000d
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.
src/backend/access/transam/timeline.c