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

From Tom Lane
Subject Re: Use boolean array for nulls parameters
Date
Msg-id 480187.1611071135@sss.pgh.pa.us
Whole thread Raw
In response to Use boolean array for nulls parameters  (japin <japinli@hotmail.com>)
Responses Re: Use boolean array for nulls parameters
List pgsql-hackers
japin <japinli@hotmail.com> writes:
> 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?

We have always considered that changing the APIs of published SPI
interfaces is a non-starter.  The entire reason those calls still
exist at all is for the benefit of third-party extensions.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: TOAST condition for column size
Next
From: Tom Lane
Date:
Subject: Re: [PATCH 1/1] Fix detection of pwritev support for OSX.