postgresql/contrib/pageinspect
Tom Lane ad592f4a6e 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
..
brinfuncs.c Add missing checks to some of pageinspect's BRIN functions 2016-03-28 10:57:42 -03:00
btreefuncs.c Remove unused macros. 2016-05-02 10:07:49 +03:00
fsmfuncs.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
ginfuncs.c Back-patch portability fixes for contrib/pageinspect/ginfuncs.c. 2016-11-04 12:37:29 -04:00
heapfuncs.c Fix incorrect computations of length of null bitmap in pageinspect. 2018-01-04 14:59:00 -05:00
Makefile Update pageinspect extension for parallel query. 2016-06-09 17:18:09 -04: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.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 Update pageinspect extension for parallel query. 2016-06-09 17:18:09 -04:00
rawpage.c Revert no-op changes to BufferGetPage() 2016-04-20 08:31:19 -05:00