pgsql: pageinspect: More type-sanity surgery on the new hash index code

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pageinspect: More type-sanity surgery on the new hash index code
Date: 2017-02-03 21:34:12
Message-ID: E1cZlUi-0003t1-EO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/871ec0e33673ad9719760131b71a02ecbda82e12

Modified Files
--------------
contrib/pageinspect/hashfuncs.c | 36 +++++++++++++--------------
contrib/pageinspect/pageinspect--1.5--1.6.sql | 4 +--
2 files changed, 20 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-02-03 21:35:19 Re: [COMMITTERS] pgsql: pageinspect: Try to fix some bugs in previous commit.
Previous Message Robert Haas 2017-02-03 19:42:19 pgsql: pgstattuple: Add pgstathashindex.