Re: Change the bool member of the Query structure to bits - Mailing list pgsql-hackers

From Quan Zongliang
Subject Re: Change the bool member of the Query structure to bits
Date
Msg-id dc6fef8c-a702-43f1-8490-ed6c8408e712@yeah.net
Whole thread Raw
In response to Change the bool member of the Query structure to bits  (Quan Zongliang <quanzongliang@yeah.net>)
Responses Re: Change the bool member of the Query structure to bits
List pgsql-hackers
Sorry. I forgot to save a file. This is the latest.

On 2024/2/20 18:07, Quan Zongliang wrote:
> 
> The Query structure has an increasing number of bool attributes. This is 
> likely to increase in the future. And they have the same properties. 
> Wouldn't it be better to store them in bits? Common statements don't use 
> them, so they have little impact. This also saves memory space.
> 
> -- 
> Quan Zongliang
Attachment

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Replace current implementations in crypt() and gen_salt() to OpenSSL
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: speed up a logical replica setup