Re: pgsql: Fix a couple of problems pointed out by Fujii Masao in the - Mailing list pgsql-committers

From Fujii Masao
Subject Re: pgsql: Fix a couple of problems pointed out by Fujii Masao in the
Date
Msg-id 3f0b79eb0809081112h7206cc7dv670a2337969fdf33@mail.gmail.com
Whole thread Raw
In response to Re: pgsql: Fix a couple of problems pointed out by Fujii Masao in the  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: pgsql: Fix a couple of problems pointed out by Fujii Masao in the
List pgsql-committers
On Tue, Sep 9, 2008 at 2:28 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
>> First, it is possible that the history file name is not
>
> ...always...

Not always.
If the stoppoint is as same as the startpoint, the history file name
is alphabetically
later than the last WAL file name. Because the leading 24 characters
of each file name
are the same and the history file name has additional characters. On
the other hand,
if the stoppoint is larger than the startpoint, the last WAL file name
is alphabetically
later than the history file name. Because the leading 24 characters of
the last WAL
file name is later than those of the history file name.

BTW, I have one question. Why does BackupHistoryFilePath need to be duplicated
in pg_stop_backup? I think that the latter one is redundant. Am I
missing something?

regards

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: pgsql: Fix a couple of problems pointed out by Fujii Masao in the
Next
From: Simon Riggs
Date:
Subject: Re: pgsql: Fix a couple of problems pointed out by Fujii Masao in the