X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8403453247 for ; Mon, 28 Mar 2005 20:44:26 +0100 (BST) 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 57009-07 for ; Mon, 28 Mar 2005 19:44:22 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by svr1.postgresql.org (Postfix) with ESMTP id C64385323A for ; Mon, 28 Mar 2005 20:44:20 +0100 (BST) Received: by wproxy.gmail.com with SMTP id 67so612903wri for ; Mon, 28 Mar 2005 11:44:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=atYf+7kNrTjx0ZNphV5GuouserC1q/Iti2GnQn3DTdYFPpa+jc0c1CwRSDYYT/GTkWGCvp2M/eT6AbrwcLx+6al7DL28kxk3UXNCqrQThaSfs5riuRfpT4SRo06AerfzsvwOP/kDFghcnS4HyRfKfAB++rgzswX5fGmF7IjzgB4= Received: by 10.54.8.23 with SMTP id 23mr1874186wrh; Mon, 28 Mar 2005 11:44:21 -0800 (PST) Received: by 10.54.45.39 with HTTP; Mon, 28 Mar 2005 11:44:21 -0800 (PST) Message-ID: <578aa3f70503281144200c2404@mail.gmail.com> Date: Mon, 28 Mar 2005 13:44:21 -0600 From: Thomas Seeber Reply-To: Thomas Seeber To: pgsql-sql@postgresql.org Subject: Postgres 7.3 migrate to 8.0 date problems. Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.398 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200503/367 X-Sequence-Number: 20846 Hi, We were upgrading from postgres 7.3 -> 8.0 and having a little problems importing dates from some of our data sources. Say we have a date like '2004-17-05'. In postgres 7.3, postgres would intrept this as Year Day Month automatically. In the documentation, from postgres 7.4 on this has to be specified in the Datestyle option and YDM is not an option. Other data we have is coming in on the YMD formate which would be more expected. I realize that this change is better for data integrity, however we have alot of legacy systems where being able to mimic the 7.3 behaviour would be desireable. Any ideas? -Tom Seeber Edison Schools