Re: [PATCH 3/8] Add support for a generic wal reading facility dubbed XLogReader
В списке pgsql-hackers по дате отправления:
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: [PATCH 3/8] Add support for a generic wal reading facility dubbed XLogReader |
| Дата | |
| Msg-id | 505700F0.20800@vmware.com обсуждение исходный текст |
| Ответ на | Re: [PATCH 3/8] Add support for a generic wal reading facility dubbed XLogReader (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: [PATCH 3/8] Add support for a generic wal reading facility dubbed XLogReader
|
| Список | pgsql-hackers |
On 17.09.2012 12:07, Andres Freund wrote: > On Monday, September 17, 2012 10:30:35 AM Heikki Linnakangas wrote: >> The user of the facility doesn't need to be aware of record boundaries, >> that's the responsibility of the facility. I thought that's exactly the >> point of generalizing this thing, to make it unnecessary for the code >> that uses it to be aware of such things. > With the proposed API it seems pretty much a requirement to wait inside the > callback. Or you can return false from the XLogPageRead() callback if the requested page is not available. That will cause ReadRecord() to return NULL, and you can retry when more WAL is available. - Heikki
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера