From: Andrus <kobruleht2@hot.ee>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Query returns no rows in pg_basebackup cluster
Date: Mon, 25 May 2020 08:47:32 +0300
Message-ID: <F43B6DD2AB7F44D7BDC16F51CF8D88F4@dell2> (raw)
In-Reply-To: <30423.1590371546@sss.pgh.pa.us>
References: <2B1267647FD14565B73801AF12CA1A88@dell2>
<ea1e505d-d049-1d1d-e3b3-e655928949b8@aklaver.com>
<17696.1590101245@sss.pgh.pa.us>
<69057EFCD3C7477B9C0C08D48E2ECD77@dell2>
<20200524231007.GB387341@paquier.xyz>
<CAKFQuwaNFwrKkaGwxLoyYqyiFzxvC-utJt3ZEqbqA1QTzd_05A@mail.gmail.com>
<30423.1590371546@sss.pgh.pa.us>
Hi!
>>> No. Physical copies need to be based on the same platform.
>> Does the O/S that the client software runs on really affect this?
>To the extent that the O/S determines text sort order, yes; see thread.
>The short answer here is that we aren't going to support such cases.
>If you try to replicate across platforms, and it works, you're in luck.
>If it doesn't work, you get to keep both pieces; we will not accept
>that as a bug.
In 2017 Peter wrote that ICU-based collations will offered alongside the libc-based collations (1)
Currently it still requires re-compilation of Postgres for all binary replication platforms.
Maybe ICU locale will selected during installation automatically in Postgres 13 . Using same ICU locale in all replication platforms
will hopefully fix the issue.
Currently option is to use ucs_basic as default collation when creating cluster.
(1) https://www.2ndquadrant.com/en/blog/icu-support-postgresql-10/
Andrus.
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: kobruleht2@hot.ee, tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, michael@paquier.xyz, adrian.klaver@aklaver.com
Subject: Re: Query returns no rows in pg_basebackup cluster
In-Reply-To: <F43B6DD2AB7F44D7BDC16F51CF8D88F4@dell2>
References: <2B1267647FD14565B73801AF12CA1A88@dell2> <ea1e505d-d049-1d1d-e3b3-e655928949b8@aklaver.com> <17696.1590101245@sss.pgh.pa.us> <69057EFCD3C7477B9C0C08D48E2ECD77@dell2> <20200524231007.GB387341@paquier.xyz> <CAKFQuwaNFwrKkaGwxLoyYqyiFzxvC-utJt3ZEqbqA1QTzd_05A@mail.gmail.com> <30423.1590371546@sss.pgh.pa.us> <F43B6DD2AB7F44D7BDC16F51CF8D88F4@dell2>
* 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