Thread: BUG #6525: t_infomask2 is uint16, not int16

BUG #6525: t_infomask2 is uint16, not int16

From
koizumistr@minos.ocn.ne.jp
Date:
The following bug has been logged on the website:

Bug reference:      6525
Logged by:          KOIZUMI Satoru
Email address:      koizumistr@minos.ocn.ne.jp
PostgreSQL version: 9.1.3
Operating system:   Mac OS X
Description:=20=20=20=20=20=20=20=20

In Table 55-4. HeapTupleHeaderData Layout, the type of t_infomask2 is
    "int16". But in src/include/access/htup.h, it is "uint16". Maybe the
document is wrong.

Re: BUG #6525: t_infomask2 is uint16, not int16

From
Tom Lane
Date:
koizumistr@minos.ocn.ne.jp writes:
> In Table 55-4. HeapTupleHeaderData Layout, the type of t_infomask2 is
>     "int16". But in src/include/access/htup.h, it is "uint16". Maybe the
> document is wrong.

Yeah, that probably should say uint16.  Fixed, thanks for the report.

            regards, tom lane