pageinspect: Use better macros to get special page area for GIN and GiST
authorMichael Paquier <michael@paquier.xyz>
Sat, 2 Apr 2022 02:27:20 +0000 (11:27 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sat, 2 Apr 2022 02:27:20 +0000 (11:27 +0900)
commitd43085d12e825ede628bafee1e5e6e0e3a3d5e67
tree54eb4704908b59573aa20f58540a376ac77766c8
parent465ab24296c27502c81c8c197725cba728b9b057
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.
contrib/pageinspect/ginfuncs.c
contrib/pageinspect/gistfuncs.c