Re: Error: Bad Timestamp Format
От | Martijn van Oosterhout |
---|---|
Тема | Re: Error: Bad Timestamp Format |
Дата | |
Msg-id | 20010913020125.A3217@svana.org обсуждение исходный текст |
Ответ на | Error: Bad Timestamp Format (Graham Leggett <minfrin@sharp.fm>) |
Список | 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 по дате отправления: