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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pageinspect: Use better macros to get special page area for GIN
Date: 2022-04-02 02:29:15
Message-ID: E1naTVq-000OEu-Tr@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-04-02 03:07:02 pgsql: Make upgradecheck a no-op in MSVC's vcregress.pl
Previous Message Andres Freund 2022-04-01 17:22:18 Re: pgsql: Add function to pump IPC process until string match