EXTRACT broken

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: EXTRACT broken
Date: 2001-10-09 22:35:25
Message-ID: Pine.LNX.4.30.0110092246100.672-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Just updated...

peter=# SELECT EXTRACT(DOW FROM TIMESTAMP '2001-02-16 20:38:40');
ERROR: Timestamp with time zone units 'dow' not recognized

This is documented to work.

peter=# SELECT EXTRACT(DOW FROM TIME '20:38:40');
ERROR: Interval units 'dow' not recognized

The expression is nonsensical, but so is the result.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-10-09 22:36:24 Re: [HACKERS] What about CREATE OR REPLACE FUNCTION?
Previous Message Peter Eisentraut 2001-10-09 22:35:11 Re: text(bool) not defined