Re: AW: AW: AW: AW: WAL-based allocation of XIDs is insecur e
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: AW: AW: AW: AW: WAL-based allocation of XIDs is insecur e |
| Дата | |
| Msg-id | 6595.983902733@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | AW: AW: AW: AW: WAL-based allocation of XIDs is insecur e (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>) |
| Список | pgsql-hackers |
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:
> I do not however see how the current solution fixes the original problem,
> that we don't have a rollback for index modifications.
> The index would potentially point to an empty heaptuple slot.
How? There will be an XLOG entry inserting the heap tuple before the
XLOG entry that updates the index. Rollforward will redo both. The
heap tuple might not get committed, but it'll be there.
> Additionally I do not see how this all works for userland index types.
None of it works for index types that don't do XLOG entries (which I
think may currently be true for everything except btree :-( ...). I
don't see how that changes if we alter the way this bit is done.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера