Re: date_part function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: date_part function
Дата
Msg-id 22789.978123218@sss.pgh.pa.us
обсуждение исходный текст
Ответ на date_part function  (John Burski <John.Burski@911ep.com>)
Список pgsql-novice
John Burski <John.Burski@911ep.com> writes:
> I submitted the following query:
>      select date_part('dow', timestamp 'now');
> and received the following results:
>      ERROR:  Function 'date_part(text, timestamp)' does not exist
>       Unable to identify a function which satisfies the given
>      argument types
>       You will have to retype your query using explicit typecasts

Odd.  It works fine for me.  What do you get from psql's "\df date_part"?

            regards, tom lane

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

Предыдущее
От: David Merrill
Дата:
Сообщение: UUID generation
Следующее
От: John Burski
Дата:
Сообщение: Re: date_part function