X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 72DA7476504 for ; Wed, 7 May 2003 10:32:25 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id B6F04474E4F for ; Wed, 7 May 2003 10:31:54 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h47EVsU6026998; Wed, 7 May 2003 10:31:54 -0400 (EDT) To: Thomas Good Cc: Ian Barwick , Postgres SQL List Subject: Re: Date Anomaly?? In-reply-to: References: Comments: In-reply-to Thomas Good message dated "Wed, 07 May 2003 09:14:52 -0400" Date: Wed, 07 May 2003 10:31:54 -0400 Message-ID: <26997.1052317914@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-32.5 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/122 X-Sequence-Number: 13287 Thomas Good writes: > Another item: if I say 'export PGDATESTYLE=US' and ask psql for > the date I get back an ISO date (YYYY-MM-DD). What region of this > US is this, I wonder? Must be San Francisco (maybe Josh knows ;-) That's only setting a substyle --- one that's not relevant to the ISO major style (at least not on output). See the SET reference page. regards, tom lane