Re: BUG #17928: Standby fails to decode WAL on termination of primary

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 02:29:40
Message-ID: CA+hUKGLK_atzwC3wXCao26MBm1Sh8-GGex9QcV0UBFK3C3s+SA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, Sep 23, 2023 at 1:07 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> 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.

And done, after running through pgperltidy.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2023-09-23 04:44:18 Re: BUG #17928: Standby fails to decode WAL on termination of primary
Previous Message Thomas Munro 2023-09-23 02:02:02 Re: BUG #17928: Standby fails to decode WAL on termination of primary