]> 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:18 +0000 (21:25 +0900)
commit3a3b7e316f85566771d3a28ea874e030fb12126b
treee7d0ac20b6aa887ba2da1d9075fa740d0de2b88f
parent0247935c7b44526a2051184963b76cdd62ea0ab8
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