Re: time stops within transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: time stops within transaction
Дата
Msg-id 3693.971840034@sss.pgh.pa.us
обсуждение исходный текст
Ответ на time stops within transaction  (Alex Pilosov <alex@pilosoft.com>)
Ответы Re: time stops within transaction  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Alex Pilosov <alex@pilosoft.com> writes:
> I just ran into a strangest thing: within transaction, select now() will
> always return time when transaction started.

That is what now() is defined to return: transaction start time.
Perhaps the documentation needs improvement...
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: time stops within transaction
Следующее
От: "John Huttley"
Дата:
Сообщение: Re: time stops within transaction