PITR always fails in finding the archived log file with wrong size. But,
I think that we can continue PITR if .ready file of the same name exists
in XLOGDIR/archive_status, ie the complete file might exist in XLOGDIR.
I want to modify the implementation of PITR a little as follows.
- In PITR, if the archived log file with wrong size is found,
we check for .ready in XLOGDIR/archive_status.
- If .ready exists, we try to continue PITR by using the log file in XLOGDIR.
(The log message about the situation might be needed.)
- Otherwise, we make PITR fail as it is (making fatal error).
Is it worth making the patch?
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
pgsql-hackers by date
|Next:||From: Bruce Momjian||Date: 2008-04-24 14:28:25|
|Subject: Re: Proposed patch - psql wraps at window width|
|Previous:||From: Merlin Moncure||Date: 2008-04-24 14:04:43|
|Subject: libpq object hooks -- needs copy result|