Re: Error: Bad Timestamp Format

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Graham Leggett <minfrin(at)sharp(dot)fm>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error: Bad Timestamp Format
Date: 2001-09-12 16:01:25
Message-ID: 20010913020125.A3217@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Felipe Zirbes 2001-09-12 16:25:40 Re: Ridicolus Postgresql review
Previous Message roypgsqlgen 2001-09-12 15:44:41 Re: Ridicolus Postgresql review