Re: now() in loop statement

Поиск
Список
Период
Сортировка
От Dan Langille
Тема Re: now() in loop statement
Дата
Msg-id 3F77F8A8.10229.33B6CEFF@localhost
обсуждение исходный текст
Ответ на now() in loop statement  (Kerv <keresztes_m@yahoo.com>)
Список pgsql-sql
On 29 Sep 2003 at 15:58, Kerv wrote:

> What is wrong with this function because the mytime variable contain the 
> same value in each iteration:

From http://www.postgresql.org/docs/7.3/static/functions-
datetime.html:

It is important to realize that CURRENT_TIMESTAMP and related 
functions return the start time of the current transaction; their 
values do not change during the transaction. timeofday() returns the 
wall clock time and does advance during transactions. 
-- 
Dan Langille : http://www.langille.org/



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

Предыдущее
От: Christoph Haller
Дата:
Сообщение: Re: now() in loop statement
Следующее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: