Re: timeofday() and CAST

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timeofday() and CAST
Дата
Msg-id 7650.1061476839@sss.pgh.pa.us
обсуждение исходный текст
Ответ на timeofday() and CAST  ("Vilson farias" <vilson.farias@digitro.com.br>)
Список pgsql-general
"Vilson farias" <vilson.farias@digitro.com.br> writes:
> #### PostgreSQL 7.3.4 ####

> bxs=# SELECT timeofday();
>               timeofday
> -------------------------------------
>  Thu Aug 21 10:04:18.215420 2003 BRT
> (1 row)

> bxs=# SELECT CAST(timeofday() AS timestamp);
> ERROR:  Bad timestamp external representation 'Thu Aug 21 10:04:42.597819
> 2003 BRT'
> bxs=#

It's unhappy about "BRT", which is not a known timezone name.  Not sure
why the earlier version didn't complain too.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: query optimization: aggregate and distinct
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Buglist