Re: [HACKERS] wrong t_bits alignment in pageinspect - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: [HACKERS] wrong t_bits alignment in pageinspect
Date
Msg-id 9B8647CA-7097-4A8C-9721-6DFAEE93D6AA@yandex-team.ru
Whole thread Raw
In response to [HACKERS] wrong t_bits alignment in pageinspect  (Maksim Milyutin <milyutinma@gmail.com>)
Responses Re: [HACKERS] wrong t_bits alignment in pageinspect
List pgsql-hackers
Hi!
> 15 дек. 2017 г., в 18:53, Maksim Milyutin <milyutinma@gmail.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

pgsql-hackers by date:

Previous
From: Jeevan Chalke
Date:
Subject: Re: [HACKERS] Partition-wise aggregation/grouping
Next
From: Rushabh Lathia
Date:
Subject: Re: [HACKERS] Parallel tuplesort (for parallel B-Tree index creation)