Re: Importing from Access 2000? - Mailing list pgsql-general

From Dennis Gearon
Subject Re: Importing from Access 2000?
Date
Msg-id 3EAE9684.2060208@cvc.net
Whole thread Raw
In response to Importing from Access 2000?  ("Bjorn T Johansen" <btj@havleik.no>)
List pgsql-general
those are bad dates, what do you expect it to do?

Bjorn T Johansen wrote:
> I am trying to convert an Access database to PostgreSQL and the import
> works until it comes to timestamps, then I get error msg like these:
>
> ERROR:  Bad timestamp external representation '0000-00-00 01:00:00'
> ERROR:  Bad timestamp external representation '0000-00-00 15:50:00'
> ERROR:  Bad timestamp external representation '0000-00-00 17:20:00'
> ERROR:  Bad timestamp external representation '0000-00-00 18:20:00'
> ERROR:  Bad timestamp external representation '0000-00-00 18:30:00'
> ERROR:  Bad timestamp external representation '0000-00-00 18:40:00'
> ERROR:  Bad timestamp external representation '0000-00-00 18:50:00'
> ERROR:  Bad timestamp external representation '0000-00-00 19:00:00'
> ERROR:  Bad timestamp external representation '0000-00-00 23:00:00'
> ERROR:  Bad timestamp external representation '0000-00-00 23:30:00'
> ERROR:  Bad timestamp external representation '0000-00-00'
> ERROR:  Bad timestamp external representation '0000-00-00 00:30:00'
> ERROR:  Bad timestamp external representation '0000-00-00 01:00:00'
> ERROR:  Bad timestamp external representation '0000-00-00 19:00:00'
>
> Does anyone have any suggestion on how to overcome this problem?
> (BTW, I am using PostgreSQL 7.3.2 and ODBC)
>
> Regards,
>
> BTJ
>
>
> -----------------------------------------------------------------------------------------------
> Bjørn T Johansen (BSc,MNIF)
> Executive Manager
> btj@havleik.no                  Havleik Consulting
> Phone : +47 67 54 15 17         Conradisvei 4
> Fax : +47 67 54 13 91           N-1338 Sandvika
> Cellular : +47 926 93 298       http://www.havleik.no
> -----------------------------------------------------------------------------------------------
> "The stickers on the side of the box said "Supported Platforms: Windows
> 98, Windows NT 4.0,
> Windows 2000 or better", so clearly Linux was a supported platform."
> -----------------------------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>


pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: Bug(?) with cursors using aggregate functions.
Next
From: Tom Lane
Date:
Subject: Re: Error: No one parent tuple was found