Re: pgsql: Extend PageIsVerified() to handle more custom options - Mailing list pgsql-committers

From Alvaro Herrera
Subject Re: pgsql: Extend PageIsVerified() to handle more custom options
Date
Msg-id 20201026143933.GA5304@alvherre.pgsql
Whole thread Raw
In response to pgsql: Extend PageIsVerified() to handle more custom options  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pgsql: Extend PageIsVerified() to handle more custom options  (Michael Paquier <michael@paquier.xyz>)
List pgsql-committers
On 2020-Oct-26, Michael Paquier wrote:

> Extend PageIsVerified() to handle more custom options
> 
> This is useful for checks of relation pages without having to load the
> pages into the shared buffers, and two cases can make use of that: page
> verification in base backups and the online, lock-safe, flavor.
> 
> Compatibility is kept with past versions using a macro that calls the
> new extended routine with the set of options compatible with the
> original version.

Please remember that in the macro definition, the arguments should be
enclosed in parens.  No bug here at present, but it seems better to be
cautious.



pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: docs: Remove notes about incompatibilies with very old versions.
Next
From: Tom Lane
Date:
Subject: pgsql: In INSERT/UPDATE, use the table's real tuple descriptor as targe