Re: CURRENT_TIMESTAMP not work correctly insinde a transaction.

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: CURRENT_TIMESTAMP not work correctly insinde a transaction.
Дата
Msg-id 3C76911E.35737258@fourpalms.org
обсуждение исходный текст
Ответ на CURRENT_TIMESTAMP not work correctly insinde a transaction.  ("Nicolas Paymal" <npaymal@instranet.com>)
Ответы Re: CURRENT_TIMESTAMP not work correctly insinde a transaction.  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
> In a transaction until you commit your transaction through a jdbc
> connection, each time you use the Current_timestamp (or 'now'), the
> timestamps is always the same, and when your transaction is very long you
> have undesirable effect.

This is not a bug, but the behavior required by SQL9x afaicr.

There is another function (timeofday()?) which returns the current clock
time.

hth

                    - Thomas

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

Предыдущее
От: "Nicolas Paymal"
Дата:
Сообщение: CURRENT_TIMESTAMP not work correctly insinde a transaction.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: CURRENT_TIMESTAMP not work correctly insinde a transaction.