BUG #7824: documentation bug: Extract DOW

From: tim(dot)romano(at)yahoo(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7824: documentation bug: Extract DOW
Date: 2013-01-22 20:40:30
Message-ID: E1Txkdy-0006X2-8a@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 7824
Logged by: Tim Romano
Email address: tim(dot)romano(at)yahoo(dot)com
PostgreSQL version: 9.2.2
Operating system: Windows 7 x64
Description:

Documentation seems to indicate that only a Timestamp value is a valid
argument to the Extract function when trying to get the DOW, but a Date also
works:

dow
The day of the week (0 - 6; Sunday is 0) (for timestamp values only)

SELECT EXTRACT(DOW FROM TIMESTAMP '2001-02-16 20:38:40'); Result: 5

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message rboudwin 2013-01-22 20:55:31 BUG #7825: pgAdmin III won't allow unchecking superuser
Previous Message Tom Lane 2013-01-22 18:26:18 Re: BUG #7820: Extension uuid-ossp cannot be installed on Windows - getting syntax error