X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D72A33AB419 for ; Tue, 21 Dec 2004 01:03:07 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54330-05 for ; Tue, 21 Dec 2004 01:03:01 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 2DA3E3AB40C for ; Tue, 21 Dec 2004 01:03:02 +0000 (GMT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id iBL12p314159; Mon, 20 Dec 2004 20:02:51 -0500 (EST) From: Bruce Momjian Message-Id: <200412210102.iBL12p314159@candle.pha.pa.us> Subject: Re: Week numbering In-Reply-To: <1102328558.3191.7.camel@localhost> To: Troels Arvin Date: Mon, 20 Dec 2004 20:02:51 -0500 (EST) Cc: pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/40 X-Sequence-Number: 2736 Patch applied. Thanks. --------------------------------------------------------------------------- Troels Arvin wrote: > Hello, > > 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. > > -- > Greetings from Troels Arvin, Copenhagen, Denmark [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073