pgsql: I was recently surprised to find that EXTRACT's day of the week

From: momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: I was recently surprised to find that EXTRACT's day of the week
Date: 2004-12-21 01:02:40
Message-ID: 20041221010240.C1F403AB3FD@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
I was recently surprised to find that EXTRACT's day of the week
numbering is different than TO_CHAR's ditto. EXTRACT starts at 0==Sunday
while TO_CHAR starts at 1==Sunday.

A suggestion for two documentation notes is attached as a patch to
current CVS HEAD.

Troels Arvin

Modified Files:
--------------
pgsql/doc/src/sgml:
func.sgml (r1.230 -> r1.231)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml.diff?r1=1.230&r2=1.231)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-12-21 01:22:42 pgsql: Add: > * Allow a warm standby system to also allow read-only
Previous Message User Andrewd 2004-12-20 23:17:25 pgbuildfarm - client-code: skip config lines with angle brackets around