pageinspect: More type-sanity surgery on the new hash index code.
authorRobert Haas <rhaas@postgresql.org>
Fri, 3 Feb 2017 21:28:13 +0000 (16:28 -0500)
committerRobert Haas <rhaas@postgresql.org>
Fri, 3 Feb 2017 21:28:13 +0000 (16:28 -0500)
commit871ec0e33673ad9719760131b71a02ecbda82e12
treed003555ea0a4a0df81998a7fe26ffbf672ad8d79
parente759854a09d49725a9519c48a0d71a32bab05a01
pageinspect: More type-sanity surgery on the new hash index code.

Uniformly expose unsigned quantities using the next-wider signed
integer type (since we have no unsigned types at the SQL level).
At the SQL level, this results a change to report itemoffset as
int4 rather than int2.  Also at the SQL level, report one value
that is an OID as type oid.  Under the hood, uniformly use macros
that match the SQL output type as to both width and signedness.
contrib/pageinspect/hashfuncs.c
contrib/pageinspect/pageinspect--1.5--1.6.sql