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

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

From
momjian@svr1.postgresql.org (Bruce Momjian)
Date:
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)