postgresql/contrib/pageinspect
Tom Lane 39cfe86195 Fix incorrect computations of length of null bitmap in pageinspect.
Instead of using our standard macro for this calculation, this code
did it itself ... and got it wrong, leading to incorrect display of
the null bitmap in some cases.  Noted and fixed by Maksim Milyutin.

In passing, remove a uselessly duplicative error check.

Errors were introduced in commit d6061f83a; back-patch to 9.6
where that came in.

Maksim Milyutin, reviewed by Andrey Borodin

Discussion: https://postgr.es/m/ec295792-a69f-350f-6287-25a20e8f31d5@gmail.com
2018-01-04 14:59:00 -05:00
..
expected Fix incorrect computations of length of null bitmap in pageinspect. 2018-01-04 14:59:00 -05:00
sql Fix incorrect computations of length of null bitmap in pageinspect. 2018-01-04 14:59:00 -05:00
.gitignore pageinspect: Add tests 2016-11-01 14:02:16 -04:00
brinfuncs.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
btreefuncs.c Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
fsmfuncs.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
ginfuncs.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
hashfuncs.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
heapfuncs.c Fix incorrect computations of length of null bitmap in pageinspect. 2018-01-04 14:59:00 -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: Add bt_page_items function with bytea argument 2017-04-04 23:52:55 -04: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
pageinspect.h Update copyright for 2018 2018-01-02 23:30:12 -05:00
rawpage.c Update copyright for 2018 2018-01-02 23:30:12 -05:00