pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: hio: Relax rules for calling GetVisibilityMapPins()
Date: Thu, 06 Apr 2023 18:11:02 +0000
Message-ID: <E1pkU4a-001iVx-Ty@gemulon.postgresql.org> (raw)

hio: Relax rules for calling GetVisibilityMapPins()

GetVisibilityMapPins() insisted on the buffer1/buffer2 being in a specific
order. This required checks at the callsite. As a subsequent patch will add
another callsite, move related logic into GetVisibilityMapPins().

Discussion: https://postgr.es/m/20230403190030.fk2frxv6faklrseb@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bba9003b627f4742212bd060ae65fe5c9c3592f3

Modified Files
--------------
src/backend/access/heap/hio.c | 37 ++++++++++++++++++++++++++-----------
1 file changed, 26 insertions(+), 11 deletions(-)



Message-ID: <E1pkU4a-001iVx-Ty@gemulon.postgresql.org>
Permalink:  ../E1pkU4a-001iVx-Ty@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pkU4a-001iVx-Ty@gemulon.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: hio: Relax rules for calling GetVisibilityMapPins()
  In-Reply-To: <E1pkU4a-001iVx-Ty@gemulon.postgresql.org>

* 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