Re: Nested transactions: low level stuff

Поиск
Список
Период
Сортировка
От 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  (Manfred Koizar <mkoi-pg@aon.at>)
Список 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 по дате отправления:

Предыдущее
От: Manfred Koizar
Дата:
Сообщение: Re: Nested transactions: low level stuff
Следующее
От: "Mikheev, Vadim"
Дата:
Сообщение: Re: Nested transactions: low level stuff