Re: Applying XLR_INFO_MASK correctly when looking at WAL record information
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Applying XLR_INFO_MASK correctly when looking at WAL record information |
| Дата | |
| Msg-id | 5571.1478280549@sss.pgh.pa.us обсуждение |
| Ответ на | Applying XLR_INFO_MASK correctly when looking at WAL record information (Michael Paquier <michael.paquier@gmail.com>) |
| Ответы |
Re: Applying XLR_INFO_MASK correctly when looking at WAL
record information
|
| Список | pgsql-hackers |
Michael Paquier <michael.paquier@gmail.com> writes:
> I have just been trapped by the fact that in some code paths we look
> at the RMGR information of a WAL record (record->xl_info) but the
> filter dedicated to it, ~XLR_INFO_MASK, is not applied. This is
> harmful now, but this could lead to problems if in the future new
> record-level flags, similar to XLR_SPECIAL_REL_UPDATE, are added.
> Disclaimer: I am looking at a patch where a record-level flag makes
> sense, still this looks like a separate problem.
> What about the patch attached to make things more consistent?
Grepping found a couple of additional places that needed the same
fix. Pushed with those additions.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера