Hi!
> 15 дек. 2017 г., в 18:53, Maksim Milyutin <milyutinma(at)gmail(dot)com> написал(а):
>
> I found out the problem in exposing values of t_bits field from heap_page_items function.
Probably, this [0] place contains similar bug too?
Also, may be macro HeapTupleHeaderGetNatts() will be a little bit easier to read.
Best regards, Andrey Borodin.
[0] https://github.com/postgres/postgres/blob/master/contrib/pageinspect/heapfuncs.c#L439