pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Seeber <thomas.seeber@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Postgres 7.3 migrate to 8.0 date problems.
Date: Mon, 28 Mar 2005 13:44:21 -0600
Message-ID: <578aa3f70503281144200c2404@mail.gmail.com> (raw)

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



view thread (4+ messages)  latest in thread

Message-ID: <578aa3f70503281144200c2404@mail.gmail.com>
Permalink:  ../578aa3f70503281144200c2404@mail.gmail.com/
Also on:    postgresql.org/message-id/578aa3f70503281144200c2404@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: thomas.seeber@gmail.com
  Subject: Re: Postgres 7.3 migrate to 8.0 date problems.
  In-Reply-To: <578aa3f70503281144200c2404@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox