Re: Making Bitmapsets be valid Nodes - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Making Bitmapsets be valid Nodes
Date
Msg-id c75f3004-5257-56b3-6717-09560ef92a2b@enterprisedb.com
Whole thread Raw
In response to Making Bitmapsets be valid Nodes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Making Bitmapsets be valid Nodes
List pgsql-hackers
On 11.11.22 21:05, Tom Lane wrote:
> Per the discussion at [1], it seems like it'd be a good idea to make
> Bitmapsets into full-fledged, tagged Nodes, so that we could do things
> like print or copy lists of them without special-case logic.  The
> extra space for the NodeTag is basically free due to alignment
> considerations, at least on 64-bit hardware.
> 
> Attached is a cleaned-up version of Amit's patch v24-0003 at [2].
> I fixed the problems with not always tagging Bitmapsets, and changed
> the outfuncs/readfuncs logic so that Bitmapsets still print exactly
> as they did before (thus, this doesn't require a catversion bump).

This looks good to me.




pgsql-hackers by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: New docs chapter on Transaction Management and related changes
Next
From: Pavel Stehule
Date:
Subject: Re: Schema variables - new implementation for Postgres 15