Re: Remove page-read callback from XLogReaderState.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Remove page-read callback from XLogReaderState.
Дата
Msg-id 20200117192218.GA19889@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Remove page-read callback from XLogReaderState.  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On 2020-Jan-17, Heikki Linnakangas wrote:

> I changed that by adding new function, XLogBeginRead(), that repositions the
> reader, and removed the 'lsn' argument from XLogReadRecord() altogether. All
> callers except one in findLastCheckPoint() pg_rewind.c positioned the reader
> once, and then just read sequentially from there, so I think that API is
> more convenient.

I like it.  +1

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: psql - add SHOW_ALL_RESULTS option
Следующее
От: David Fetter
Дата:
Сообщение: Re: Let people set host(no)ssl settings from initdb