Hi, In archive recovery, the last applied WAL segment may not have .ready file in spite of not having been archived yet. Then, this segment is not archived until a future checkpoint creates .ready file. It's a little dangerous that there is the WAL segment which is not archived for a while.
Attached patch fixes this problem. Is this worth committing? Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
archive_last_wal_0422.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers