From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, Alexander Lakhin <exclusion(at)gmail(dot)com>, Sergei Kornilov <sk(at)zsrv(dot)org>, Noah Misch <noah(at)leadboat(dot)com>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org, Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> |
Subject: | Re: BUG #17928: Standby fails to decode WAL on termination of primary |
Date: | 2023-09-23 01:07:06 |
Message-ID: | CA+hUKGKUoRZa-YaBu+TFFCmhsKe23+7ZOb5EJRK89HraSMcLMQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Sat, Sep 23, 2023 at 12:20 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Thomas Munro <thomas(dot)munro(at)gmail(dot)com> writes:
> > Oh, so although we were testing on 32 bit systems via CI (task
> > "test_world_32" on "Linux - Debian Bullseye - Meson"), in that case
> > the perl binary is still 64 bit. Apparently 32 bit perl binary (at
> > least of a certain vintage) doesn't like 'Q'.
>
> We discovered this once before, cf 945d2cb7d.
Here is my proposed fix. I couldn't quite use that trick, but we can
safely assume that the higher order bits of any LSN generated by this
test are zero. Patch tested on x86 and big-endian POWER. If no one
has a more idiomatic perl trick for this, I'll push this soon.
Attachment | Content-Type | Size |
---|---|---|
0001-Don-t-use-Q-in-Perl-pack-strings.patch | text/x-patch | 2.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2023-09-23 02:02:02 | Re: BUG #17928: Standby fails to decode WAL on termination of primary |
Previous Message | Tom Lane | 2023-09-23 00:20:46 | Re: BUG #17928: Standby fails to decode WAL on termination of primary |