postgresql/contrib/pageinspect/sql
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
..
brin.sql pageinspect: Add tests 2016-11-01 14:02:16 -04:00
btree.sql pageinspect: Add bt_page_items function with bytea argument 2017-04-04 23:52:55 -04:00
gin.sql Fix gin_leafpage_items(). 2016-11-04 12:11:54 -04:00
hash.sql pageinspect: Remove platform-dependent values from hash tests. 2017-02-03 11:06:41 -05:00
page.sql Fix incorrect computations of length of null bitmap in pageinspect. 2018-01-04 14:59:00 -05:00