public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Masahiko Sawada <[email protected]>
Cc: Noah Misch <[email protected]>
Cc: Joe Conway <[email protected]>
Cc: Peter Eisentraut <[email protected]>
Cc: Alexander Korotkov <[email protected]>
Cc: Guo, Adam <[email protected]>
Cc: [email protected] <[email protected]>
Cc: Nathan Bossart <[email protected]>
Cc: Jim Mlodgenski <[email protected]>
Subject: Re: pg_trgm comparison bug on cross-architecture replication due to different char implementation
Date: Tue, 10 Sep 2024 17:56:47 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAD21AoA5NBLeXdtQSmb1g_wH_K8CBy9WsRVjQF4hXporFAb=RQ@mail.gmail.com>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<CAD21AoDJEKZO_=szRtOTX6we6wC_wWsHXH1zcEqza2vHE-YW4Q@mail.gmail.com>
<[email protected]>
<CAD21AoBO-iL=UgHKQrKE=7zBrMYR_fAhLb8AGo_kmNgmkPKuQA@mail.gmail.com>
<[email protected]>
<CAD21AoC=7oF29N6iKaTssn-rRGnoTVSLzTQh4ia4ZUO1iKKc_w@mail.gmail.com>
<[email protected]>
<[email protected]>
<CAD21AoCFxA0F+KqsVGLMYME7iW6KdVwvAU9YyieULa92zZx=zg@mail.gmail.com>
<[email protected]>
<CAD21AoA3qDyzbiq6+ELT9at=JsW5br5saTHBwY0SCUDS_qfnEQ@mail.gmail.com>
<[email protected]>
<CAD21AoDGs0F8hu9sk0JHMk32FSJ1rzy9HUfivYhd4O0r=6QGHg@mail.gmail.com>
<[email protected]>
<CAD21AoA5NBLeXdtQSmb1g_wH_K8CBy9WsRVjQF4hXporFAb=RQ@mail.gmail.com>
Masahiko Sawada <[email protected]> writes:
> On Tue, Sep 10, 2024 at 11:57 AM Tom Lane <[email protected]> wrote:
>> Yeah, that seems like it could work. But are we sure that replicas
>> get a copy of the primary's control file rather than creating their
>> own?
> Yes, I think so. Since at least the system identifiers of primary and
> replicas must be identical for physical replication, if replicas use
> their own control files then they cannot start the replication.
Got it. So now I'm wondering if we need all the complexity of storing
stuff in the GIN metapages. Could we simply read the (primary's)
signedness out of pg_control and use that? We might need some caching
mechanism to make that cheap enough, but accessing the current index's
metapage is far from free either.
regards, tom lane
view thread (6+ messages)
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: pg_trgm comparison bug on cross-architecture replication due to different char implementation
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox