Re: pgsql: Ignore BRIN indexes when checking for HOT udpates

Tomas Vondra <tomas.vondra@enterprisedb.com>

From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>, pgsql-hackers@lists.postgresql.org
Cc: Matthias van de Meent <boekewurm+postgres@gmail.com>, Tomas Vondra <tomas.vondra@postgresql.org>, Josef Šimánek <josef.simanek@gmail.com>
Date: 2023-08-09T15:56:48Z
Lists: pgsql-hackers
On 8/9/23 11:11, Alvaro Herrera wrote:
> On 2021-Nov-30, Tomas Vondra wrote:
> 
>> Ignore BRIN indexes when checking for HOT udpates
> 
> I was trying to use RelationGetIndexAttrBitmap for something and
> realized that its header comment does not really explain things very
> well.  That was already the case before this commit, but it (this
> commit) did add new possible values without mentioning them.  I propose
> the attached comment-only patch.
> 

+1

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Commits

  1. Document RelationGetIndexAttrBitmap better

  2. Ignore BRIN indexes when checking for HOT udpates