Re: Order by and timestamp - Mailing list pgsql-general

From Tom Lane
Subject Re: Order by and timestamp
Date
Msg-id 8265.1584376814@sss.pgh.pa.us
Whole thread Raw
In response to Re: Order by and timestamp  (Björn Lundin <b.f.lundin@gmail.com>)
Responses Re: Order by and timestamp
List pgsql-general
=?utf-8?Q?Bj=C3=B6rn_Lundin?= <b.f.lundin@gmail.com> writes:
> Ooh - terrible sorry.
> The output from first post describing the database schema
> Was actually from my production machine - a raspberry pi.
> The pi hold a db on an usb-disk, which is pg_dump()ed every night and imported to ibm2 history db (the bad one)

> The schema is identical to the one with trouble - which is a history database
> Intended for testing

Hmmm ... schema is evidently the same, but locale seemingly not.
Is it possible this is a locale problem?  I did not look closely
at the original data, but I'm suddenly wondering if it could be
explained by misinterpreting the date field order (month-day vs
day-month).  Check the datestyle settings on both machines.

            regards, tom lane



pgsql-general by date:

Previous
From: Björn Lundin
Date:
Subject: Re: Order by and timestamp
Next
From: Samuel Smith
Date:
Subject: Re: Invalid byte sequence errors on DB restore