Re: Transaction ID in Triggers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Transaction ID in Triggers
Дата
Msg-id 28041.1250282300@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Transaction ID in Triggers  (David Saracini <dsaracini@yahoo.com>)
Ответы Re: Transaction ID in Triggers  (David Saracini <dsaracini@yahoo.com>)
Список pgsql-novice
David Saracini <dsaracini@yahoo.com> writes:
> So, if I understand it...  then, txid_current returns the xmax in the
> high-order and the xmin in the low-order.  Correct?

No.  txid_current returns a monotonically increasing version of the
transaction counter --- its high order bits are an "epoch" counter
that increases whenever the 32-bit xid wraps around.

            regards, tom lane

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

Предыдущее
От: David Saracini
Дата:
Сообщение: Re: Transaction ID in Triggers
Следующее
От: David Saracini
Дата:
Сообщение: Re: Transaction ID in Triggers