Re: Fwd: Re: [GENERAL] Extracting time from timestamp

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fwd: Re: [GENERAL] Extracting time from timestamp
Дата
Msg-id 10683.1048229716@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fwd: Re: [GENERAL] Extracting time from timestamp  ("Shridhar Daithankar<shridhar_daithankar@persistent.co.in>" <shridhar_daithankar@persistent.co.in>)
Ответы Re: Fwd: Re: [GENERAL] Extracting time from timestamp
Список pgsql-hackers
"Shridhar Daithankar<shridhar_daithankar@persistent.co.in>" <shridhar_daithankar@persistent.co.in> writes:
> And What's so holy about "" if it is a function?

The problem is that TIME(n) is a datatype name, not a function call,
according to the SQL spec.  Likewise for TIMESTAMP(n), INTERVAL(n),
NUMERIC(m,n), and maybe one or two other special cases I've forgotten.

The SQL spec's love of special-purpose syntaxes is one of its worst
features IMHO ...
        regards, tom lane


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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: [GENERAL] Extracting time from timestamp
Следующее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: Fwd: Re: [GENERAL] Extracting time from timestamp