pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pageinspect: Use better macros to get special page area for GIN
Date: Sat, 02 Apr 2022 02:29:15 +0000
Message-ID: <E1naTVq-000OEu-Tr@gemulon.postgresql.org> (raw)

pageinspect: Use better macros to get special page area for GIN and GiST

These five code paths are the last ones that made use of
PageGetSpecialPointer() to get the special area of such pages, while
those index AMs have already macros to do this job.

Noticed while reviewing the use PageGetSpecialPointer() in the whole
tree, in relation to the recent commit d16773c.

Branch
------
master

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

Modified Files
--------------
contrib/pageinspect/ginfuncs.c  | 6 +++---
contrib/pageinspect/gistfuncs.c | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)



Message-ID: <E1naTVq-000OEu-Tr@gemulon.postgresql.org>
Permalink:  ../E1naTVq-000OEu-Tr@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1naTVq-000OEu-Tr@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 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: michael@paquier.xyz
  Subject: Re: pgsql: pageinspect: Use better macros to get special page area for GIN
  In-Reply-To: <E1naTVq-000OEu-Tr@gemulon.postgresql.org>
  References: <E1naTVq-000OEu-Tr@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