X-Original-To: pgsql-docs@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D97F4475EDF for ; Fri, 11 Apr 2003 23:46:11 -0400 (EDT) Received: from platonic.cynic.net (platonic.cynic.net [204.80.150.245]) by postgresql.org (Postfix) with ESMTP id 34750475AA9 for ; Fri, 11 Apr 2003 23:46:11 -0400 (EDT) Received: from angelic.cynic.net (angelic-platonic.cvpn.cynic.net [198.73.220.226]) by platonic.cynic.net (Postfix) with ESMTP id 0B289BFFB; Sat, 12 Apr 2003 03:44:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by angelic.cynic.net (Postfix) with ESMTP id 8F1838736; Sat, 12 Apr 2003 12:42:09 +0900 (JST) Date: Sat, 12 Apr 2003 12:42:09 +0900 (JST) From: Curt Sampson X-X-Sender: cjs@angelic-vtfw.cvpn.cynic.net To: Tom Lane Cc: pgsql-docs@postgresql.org Subject: Re: 6.8.5: Location of CURRENT_DATE unclear In-Reply-To: <13519.1050093254@sss.pgh.pa.us> Message-ID: References: <13519.1050093254@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-38.2 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_PINE autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/27 X-Sequence-Number: 1753 On Fri, 11 Apr 2003, Tom Lane wrote: > Curt Sampson writes: > > In table 6-18 the 7.3 documentation, it describes the CURRENT_DATE > > function as returning "today's date." Section 6.8.4 mentions > > CURRENT_DATE again, but does not describe what location is used to > > determine the current date. Does this return the current date as of now, > > UTC, or the current date in the local timezone? > > The latter, as you could easily have found by experiment. In fact, I did find that out by experiment. My real question, I guess, is "is there some good reason not to have this information in the documentation?" (In fact, I'm sure the answer is "no," so more the real question is, "Is my whinging enough to get someone to add it, or do I have to get off my lazy ass and submit a patch?") cjs -- Curt Sampson +81 90 7737 2974 http://www.netbsd.org Don't you know, in this new Dark Age, we're all light. --XTC