Re: Comparing txid_current() to xmin

Поиск
Список
Период
Сортировка
От Mike Lewis
Тема Re: Comparing txid_current() to xmin
Дата
Msg-id CA+foqsRSqH2wdHCDioVbhQCCbarorGw0Xcnoa1DtLgTHSZV2-Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Comparing txid_current() to xmin  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-general
Uh, txid_current returns a 64 bit value, whereas xmin only stores the 32
least significant bits.  They would certainly differ after a xid
wraparound.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Ah yes...  That would be a problem.  What about using just the lower 32 bits of the txid_current?

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Comparing txid_current() to xmin
Следующее
От: Bryan Montgomery
Дата:
Сообщение: Re: Tuning / performance questions