Re: timeofday() and now() issue..

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timeofday() and now() issue..
Дата
Msg-id 10505.1051887437@sss.pgh.pa.us
обсуждение исходный текст
Ответ на timeofday() and now() issue..  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Ответы Re: timeofday() and now() issue..
Список pgsql-sql
Rajesh Kumar Mallah <mallah@trade-india.com> writes:
> SELECT CAST (timeofday() as timestamp with time zone) - CAST (now() as timestamp with time zone);
> shudn't it return something close to 0 ?

Works for me ... what's your platform, PG version, and timezone?
And what are you getting from the intermediate steps in that expression?
        regards, tom lane



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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: What is bad in this query ?
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: timeofday() and now() issue..