Problem with now() in function pgsql

Поиск
Список
Период
Сортировка
От luke\.78\@libero\.it
Тема Problem with now() in function pgsql
Дата
Msg-id JYV5E7$EC8D8702500FEA2AF450CE088A16C723@libero.it
обсуждение исходный текст
Ответы Re: Problem with now() in function pgsql  (Adrian Klaver <aklaver@comcast.net>)
Список pgsql-sql
Hi,
I have a problem in a function pgsql with Reading TIMESTAMP calling the function now()
the problem is this:
At the begin of function I read timestamp...
select now() into TS_BEGIN;

the function execute some statement...

Many seconds after I reread the timestamp
select now() into TS_END;

and TS_BEGIN is identical TS_END!!!

Can anyone help me?

Thanks in advance.

Luke.



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

Предыдущее
От: chester c young
Дата:
Сообщение: Re: apparent RI bug
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Problem with now() in function pgsql