Re: Access to transaction status

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Access to transaction status
Дата
Msg-id 17744.1056117858@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Access to transaction status  ("Christian Plattner" <postgresql@sioux.ch>)
Список pgsql-hackers
"Christian Plattner" <postgresql@sioux.ch> writes:
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
>> How much later?  clog is not kept forever.

> As far as I understand your code there is only one chance that information
> in clog gets lost:
> If XIDs are reused then ExtendCLOG will overwrite existing entries.
> Also, it seems to me that VACCUM has not effect on the clog.

You're quite mistaken.  clog is truncated during vacuum, once we are
confident that there are no unvacuumed rows in the database with XIDs
older than a certain point.  This is to keep clog space requirements
within reason.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Ownership change doesn't change privileges
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Subtraction carry bug in xlog.c in 7.3 and 7.4