Re: Streaming replication and pg_xlogfile_name()

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Streaming replication and pg_xlogfile_name()
Дата
Msg-id 3f0b79eb1002241857j6579bebdv29f85834246024e7@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Streaming replication and pg_xlogfile_name()  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Streaming replication and pg_xlogfile_name()  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Tue, Feb 23, 2010 at 4:08 PM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
>> So it's not the TLI of the first record in the file, isn't it?
>
> Hmm, or is it the TLI of the last record? Not sure. Anyway, if there's a
> TLI switch in the current WAL file, curFileTLI doesn't always represent
> the TLI of the current record.

Hmm. How about using lastPageTLI instead of curFileTLI? lastPageTLI
would always represent the TLI of the current record.

Regards,

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: pg_stop_backup does not complete
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Streaming replication and pg_xlogfile_name()