Re: Error: Bad Timestamp Format - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Error: Bad Timestamp Format
Date
Msg-id 20010913020125.A3217@svana.org
Whole thread Raw
In response to Error: Bad Timestamp Format  (Graham Leggett <minfrin@sharp.fm>)
List pgsql-general
On Wed, Sep 12, 2001 at 05:16:29PM +0200, Graham Leggett wrote:
> According to the FAQ and docs, this is caused by the date format being
> wrong, but the date format is the same on both installations:
>
> vendirza=# SHOW DATESTYLE;
> NOTICE:  DateStyle is ISO with US (NonEuropean) conventions
>
> vendirza=# SHOW DATESTYLE;
> NOTICE:  DateStyle is ISO with US (NonEuropean) conventions

Looks the same machine to me.

BTW, i don't know who thought of it but yyyy-dd-mm is a terrible format and
should be shot.

> I have checked the locale on both installations, and in both cases no
> locale is set.
>
> Can anyone suggest a solution?

Check the datestypes. Try setting it to european conventions, maybe that
will work better

> I am using pgsql v7.0.3, and the database was transferred by doing a raw
> transfer of the data/ directory from the first machine to the second.

Does pg_dump make a difference?

HTH,
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> Magnetism, electricity and motion are like a three-for-two special offer:
> if you have two of them, the third one comes free.

pgsql-general by date:

Previous
From: roypgsqlgen@xemaps.com
Date:
Subject: Re: Ridicolus Postgresql review
Next
From: Carlos Felipe Zirbes
Date:
Subject: Re: Ridicolus Postgresql review