Re: Change the bool member of the Query structure to bits
Quan Zongliang <quanzongliang@yeah.net>
From: Quan Zongliang <quanzongliang@yeah.net>
To: pgsql-hackers@lists.postgresql.org
Date: 2024-02-20T10:11:55Z
Lists: pgsql-hackers
Attachments
- query-bits.patch (text/plain) patch
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