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

Michael Paquier <michael@paquier.xyz>

Commit: d43085d12e825ede628bafee1e5e6e0e3a3d5e67
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-04-02T02:27:20Z
Releases: 15.0
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.

Files

PathChange+/−
contrib/pageinspect/ginfuncs.c modified +3 −3
contrib/pageinspect/gistfuncs.c modified +2 −2