]> 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:25:12 +0000 (21:25 +0900)
commitcc76577873945183352fa6e1e82cc14606c28fd3
tree40d44d0b7747f309119ead265cd0098a3ca206b9
parent26a95a1e521e4ae1a2ebdcc0db5745ee8d1285cc
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