Use boolean array for nulls parameters - Mailing list pgsql-hackers

From japin
Subject Use boolean array for nulls parameters
Date
Msg-id MEYP282MB1669D8B332CC0EC60E456F4CB6A30@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: Use boolean array for nulls parameters  (Hamid Akhtar <hamid.akhtar@gmail.com>)
Re: Use boolean array for nulls parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

When I review the [1], I find that the tuple's nulls array use char type.
However there are many places use boolean array to repsent the nulls array,
so I think we can replace the char type nulls array to boolean type.  This
change will break the SPI_xxx API, I'm not sure whether this chagnges cause
other problems or not.  Any thought?

[1] - https://www.postgresql.org/message-id/flat/CA+HiwqGkfJfYdeq5vHPh6eqPKjSbfpDDY+j-kXYFePQedtSLeg@mail.gmail.com

-- 
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.


Attachment

pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: TOAST condition for column size
Next
From: Dmitry Dolgov
Date:
Subject: Re: [HACKERS] [PATCH] Generic type subscripting