Re: Streaming replication and pg_xlogfile_name()

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Streaming replication and pg_xlogfile_name()
Дата
Msg-id 3f0b79eb1001290240k470e2377o7d72eacbd0338850@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Streaming replication and pg_xlogfile_name()  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Streaming replication and pg_xlogfile_name()  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
On Thu, Jan 28, 2010 at 5:28 PM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> How about extending the format of the string returned by
> pg_last_xlog_receive/replay_location() to include the timeline ID? When
> it currently returns e.g '6/200016C', it could return '1/6/200016C',
> where 1 is the timeline ID. Then just teach pg_xlogfile_name[_offset]()
> to accept that format as well.

Sounds good. The attached patch does so. Also the code is available
in the 'replication' branch in my git repository.

Regards,

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

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Hot Standby: Relation-specific deferred conflict resolution
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Streaming replication, and walsender during recovery