pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Extend PageIsVerified() to handle more custom options
Date: Mon, 26 Oct 2020 11:39:33 -0300
Message-ID: <20201026143933.GA5304@alvherre.pgsql> (raw)
In-Reply-To: <E1kWqx0-0005Rk-TO@gemulon.postgresql.org>

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.





view thread (8+ messages)  latest in thread

Message-ID: <20201026143933.GA5304@alvherre.pgsql>
Permalink:  ../20201026143933.GA5304@alvherre.pgsql/
Also on:    postgresql.org/message-id/20201026143933.GA5304@alvherre.pgsql

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org, michael@paquier.xyz
  Subject: Re: pgsql: Extend PageIsVerified() to handle more custom options
  In-Reply-To: <20201026143933.GA5304@alvherre.pgsql>
  References: <E1kWqx0-0005Rk-TO@gemulon.postgresql.org> <20201026143933.GA5304@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox