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'