postgresql/contrib/pageinspect
Tom Lane c6eeb67dcc Fix a bunch more portability bugs in commit 08bf6e529.
It seems like somebody used a dartboard while choosing integer widths
for the various values taken and returned by these functions ... and
then threw a fresh set of darts while writing the SQL declarations.

This patch brings the C code into line with what the SQL declarations
say, which is enough to make it not dump core on the particular 32-bit
machine I'm testing on.  But I think we could do with another round
of looking at what the datum widths *should* be.  For instance, it's
not all that sensible that hash_bitmap_info decided to use int64 to
represent a BlockNumber input when get_raw_page doesn't do it that way.

There's also a remaining problem that the expected outputs from the
test script are platform-dependent, but I'll leave that issue for
somebody else.

Per buildfarm.
2017-02-02 23:11:08 -05:00
..
expected pageinspect: Support hash indexes. 2017-02-02 14:19:32 -05:00
sql pageinspect: Support hash indexes. 2017-02-02 14:19:32 -05:00
.gitignore pageinspect: Add tests 2016-11-01 14:02:16 -04:00
brinfuncs.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
btreefuncs.c Move some things from builtins.h to new header files 2017-01-20 20:29:53 -05:00
fsmfuncs.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
ginfuncs.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
hashfuncs.c Fix a bunch more portability bugs in commit 08bf6e529. 2017-02-02 23:11:08 -05:00
heapfuncs.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Makefile pageinspect: Support hash indexes. 2017-02-02 14:19:32 -05:00
pageinspect--1.0--1.1.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
pageinspect--1.1--1.2.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
pageinspect--1.2--1.3.sql pageinspect/BRIN: minor tweaks 2014-12-02 12:20:50 -03:00
pageinspect--1.3--1.4.sql Add forgotten file in commit d6061f83a1 2015-11-25 16:59:07 +03:00
pageinspect--1.4--1.5.sql Update pageinspect extension for parallel query. 2016-06-09 17:18:09 -04:00
pageinspect--1.5--1.6.sql pageinspect: Try to fix some bugs in previous commit. 2017-02-02 22:32:06 -05:00
pageinspect--1.5.sql Update pageinspect extension for parallel query. 2016-06-09 17:18:09 -04:00
pageinspect--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
pageinspect.control pageinspect: Support hash indexes. 2017-02-02 14:19:32 -05:00
rawpage.c Move some things from builtins.h to new header files 2017-01-20 20:29:53 -05:00