From: Björn Lundin <b.f.lundin@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@postgresql.org
Subject: Re: Order by and timestamp
Date: Mon, 16 Mar 2020 19:56:24 +0100
Message-ID: <B8742026-DBCA-475E-9036-65C61DA2639B@gmail.com> (raw)
In-Reply-To: <9004c731-b2eb-faaa-6dc9-6ebd231c5879@aklaver.com>
References: <63004F55-4CA3-40F8-A898-E7A646B0EBD3@gmail.com>
<c171c26b-fd5e-b4bf-ec86-97b6f8dbcbe0@aklaver.com>
<24142.1584319263@sss.pgh.pa.us>
<7D74B8B5-DFBD-4B5B-85C6-A516343E49C1@gmail.com>
<346C3B58-D29E-4CC2-8200-691ECA91F494@gmail.com>
<10f84f23-6011-28ab-79a1-a1c259424d2e@aklaver.com>
<72890A04-294E-4753-8839-69F0BAD9AA17@gmail.com>
<9004c731-b2eb-faaa-6dc9-6ebd231c5879@aklaver.com>
>> 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
>
> To be clear the RPI version of the database sorts correctly?
Yes, but as I replied to Tom, it only contains a days worth of data, then pg_dump()ed and truncated.
Tas data is imported to
* the faulty one (ibm2/debian/9.4)
* the correct one (tp/ubuntu/pg 10.6)
>
>> I did not realize that would matter when posting - did the post away from home,
>
>
> Yes, it would be have been nice to know at the outset there where multiple instances involved.
Hmm did not realize that. It’s hard to know when to leave out ’insignificant details’ and when not to.
(Ie when the details turn out to be significant)
I saw a machine - with its current data - sort in a for me strange way.
Then it struck me that I have another (semi-retired) machine with basically the same data,
Enetered the same way, with the same import files, that works
So in a sense many instances, but not really.
I mean, the pg_dump does copy-commands.
I could have inserted that by hand.
--
Björn Lundin
b.f.lundin@gmail.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: b.f.lundin@gmail.com, adrian.klaver@aklaver.com, tgl@sss.pgh.pa.us
Subject: Re: Order by and timestamp
In-Reply-To: <B8742026-DBCA-475E-9036-65C61DA2639B@gmail.com>
References: <63004F55-4CA3-40F8-A898-E7A646B0EBD3@gmail.com> <c171c26b-fd5e-b4bf-ec86-97b6f8dbcbe0@aklaver.com> <24142.1584319263@sss.pgh.pa.us> <7D74B8B5-DFBD-4B5B-85C6-A516343E49C1@gmail.com> <346C3B58-D29E-4CC2-8200-691ECA91F494@gmail.com> <10f84f23-6011-28ab-79a1-a1c259424d2e@aklaver.com> <72890A04-294E-4753-8839-69F0BAD9AA17@gmail.com> <9004c731-b2eb-faaa-6dc9-6ebd231c5879@aklaver.com> <B8742026-DBCA-475E-9036-65C61DA2639B@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox