Re: Remove an unnecessary LSN calculation while validating WAL page header - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Remove an unnecessary LSN calculation while validating WAL page header
Date
Msg-id Y0YRsAqAoUSTUsNH@paquier.xyz
Whole thread Raw
In response to Re: Remove an unnecessary LSN calculation while validating WAL page header  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
On Tue, Oct 11, 2022 at 06:24:26PM +0200, Alvaro Herrera wrote:
> Knowing how difficult that code was, and how heroic was to change it to
> a more maintainable form, I place no blame on failing to notice that
> some small thing could have been written more easily.

+1.  And even after such changes the code is still complex for the
common eye.  Anyway, this makes the code a bit simpler with the exact
same maths, so applied.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Query Jumbling for CALL and SET utility statements
Next
From: Michael Paquier
Date:
Subject: Re: Make finding openssl program a configure or meson option