| От | Tom Lane |
|---|---|
| Тема | Re: Nested transactions: low level stuff |
| Дата | |
| Msg-id | 7915.1048096807@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Nested transactions: low level stuff (Manfred Koizar <mkoi-pg@aon.at>) |
| Ответы |
Re: Nested transactions: low level stuff
|
| Список | pgsql-hackers |
Manfred Koizar <mkoi-pg@aon.at> writes:
> If the sequence is "first update xmin, then set the commit bit", we
> never have an inconsistent state. And if the change is lost, it can
> be redone by the next backend visiting the tuple.
Not if the subtransaction log state has been removed as no longer
needed. I think a WAL entry will be essential. (An alternative
might be to keep subtransaction state as long as we keep pg_clog
state, but that's pretty unpleasant too.)
I think we'd be a lot better off to design this so that we don't need to
alter heap tuple xmin values...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера