Re: [HACKERS] Re: [DOCS] Reference Manual

Поиск
Список
Период
Сортировка
От Jose' Soares Da Silva
Тема Re: [HACKERS] Re: [DOCS] Reference Manual
Дата
Msg-id Pine.LNX.3.96.980401144335.405A-100000@proxy.bazzanese.com
обсуждение исходный текст
Ответ на Re: [DOCS] Reference Manual  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
Список pgsql-hackers
On Mon, 30 Mar 1998, Thomas G. Lockhart wrote:

> > I'm writing Reference Manual and I have two questions:
> >
> > 1 - Why PostgreSQL accept HOUR, MINUTE and SECOND to extract if from a
> >     date ?
> >    EXTRACT (field FROM date_expression)
> >    There are no such fields on a date!
>
> And it returns zeros for those fields. I think that is OK; it makes for
> a symmetric implementation...
>
The point is: why EXTRACT accepts only date types ?

SQL92 specifies date, time, timestamp and interval.

                                                            Ciao, Jose'


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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [PORTS] Port Bug Report: int2 negative numbers not parsed correctly
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Re: [DOCS] Reference Manual