]> 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:25:45 +0000 (21:25 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 6 Nov 2014 12:26:21 +0000 (21:26 +0900)
commit83c7bfb9aba947647dd2746281fceb60dd584271
tree8321c6f5102e437b99dff09ec5a30a74669a5a4e
parent45a607d5c7e78f43c1339ce3553090c76703ee44
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/xlog.c