Re: Exposing the Xact commit order to the user

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Exposing the Xact commit order to the user
Дата
в 17:16:17
Msg-id
28952.1274818568@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: Exposing the Xact commit order to the user Chris Browne <cbbrowne@acm.org>
Jan Wieck  writes:
>> No, I meant how will the *function* know, if a superuser and/or some 
>> background process can purge records at any time?

> The data contains timestamps which are supposedly taken in commit order. 

You can *not* rely on the commit timestamps to be in exact order.
(Perhaps approximate ordering is good enough for what you want here,
but just be careful to not fall into the trap of assuming that they're
exactly ordered.)
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Joseph Adams
Дата:
От: Simon Riggs
Дата:
FAQ