Re: autovacuum not prioritising for-wraparound tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: autovacuum not prioritising for-wraparound tables
Дата
Msg-id 8033.1359908262@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: autovacuum not prioritising for-wraparound tables  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: autovacuum not prioritising for-wraparound tables  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> It obviously needs more polish:

> - I opted for using the 64bit representation of xids, seems to be better
>   in a log which very well might be looked at only after some
>   wraparounds
> - exporting 'txid' from adt/txid.c is pretty ugly. I don't like the
>   invention of the type in general, but making it visible outside of
>   txid.c is even uglier, but using both, plain uint64 and txid inside
>   txid.c isn't nice either.
> - txid_from_xid should be renamed, don't have a good idea to what right
>   now.
> - is there agreement on the additionally logged information?

-1 on using txids here.  If memory serves, we have had exactly this
discussion before and rejected spreading those into other parts
of the system.  That gets rid of three of your problems right there,
as well as a lot of ugly hackery with UINT64_FORMAT.
        regards, tom lane



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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: missing rename support
Следующее
От: Andres Freund
Дата:
Сообщение: Re: autovacuum not prioritising for-wraparound tables