Re: ReadRecord, EndRecPtr and XLOG_SWITCH

Поиск
Список
Период
Сортировка
От Florian G. Pflug
Тема Re: ReadRecord, EndRecPtr and XLOG_SWITCH
Дата
Msg-id 4692B7E7.6020203@phlo.org
обсуждение исходный текст
Ответ на ReadRecord, EndRecPtr and XLOG_SWITCH  ("Florian G. Pflug" <fgp@phlo.org>)
Список pgsql-hackers
Florian G. Pflug wrote:
<snipped my own mail>

Please disregard - I was confusing xlogid with xlog segments, so
most of my mail was nonsense.

I've fixed my problem by storing not the EndRecPtr, but rather
the ReadRecPtr, in shmem and rereading the last already applied
record in my bgreplay process. Then I can just use ReadRecord(NULL),
and things Just Work.

Sorry for the noise & greetings
Florian Pflug



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

Предыдущее
От: "Florian G. Pflug"
Дата:
Сообщение: ReadRecord, EndRecPtr and XLOG_SWITCH
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: "Running readonly queried on PITR slaves" status update