| От | Tom Lane |
|---|---|
| Тема | Re: current_timestamp after queries |
| Дата | |
| Msg-id | 21610.1033399799@sss.pgh.pa.us обсуждение |
| Ответ на | Re: current_timestamp after queries (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Need Oracle 9 tester. was Re: current_timestamp after queries
|
| Список | pgsql-general |
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Yes, timeofday() will work, but it can change during the statement, right?
For what he was doing, it seemed perfectly acceptable.
This comes back to the point I've been making during the pghackers
discussion: start-of-transaction time has clear uses, and
exact-current-time has clear uses, but it's not nearly as obvious
why you'd need start-of-statement time in preference to either of
the others.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера