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

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

From
Michael Paquier
Date:
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(-)