| От | Tom Lane |
|---|---|
| Тема | Re: Exposing the Xact commit order to the user |
| Дата | |
| Msg-id | 28952.1274818568@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Exposing the Xact commit order to the user (Jan Wieck <JanWieck@Yahoo.com>) |
| Ответы |
Re: Exposing the Xact commit order to the user
|
| Список | pgsql-hackers |
Jan Wieck <JanWieck@Yahoo.com> 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера