Re: BRIN indexes vs. SK_SEARCHARRAY (and preprocessing scan keys)
Tomas Vondra <tomas.vondra@enterprisedb.com>
From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-06-08T12:03:47Z
Lists: pgsql-hackers
Attachments
- 0001-BRIN-bloom-cleanup-20230608.patch (text/x-patch) patch 0001
- 0002-BRIN-minmax-multi-cleanup-20230608.patch (text/x-patch) patch 0002
- 0003-Introduce-bloom_filter_size-20230608.patch (text/x-patch) patch 0003
- 0004-Add-minmax-multi-inequality-tests-20230608.patch (text/x-patch) patch 0004
- 0005-Introduce-BRIN_PROCNUM_PREPROCESS-procedure-20230608.patch (text/x-patch) patch 0005
- 0006-Support-SK_SEARCHARRAY-in-BRIN-minmax-20230608.patch (text/x-patch) patch 0006
- 0007-Support-SK_SEARCHARRAY-in-BRIN-minmax-multi-20230608.patch (text/x-patch) patch 0007
- 0008-Support-SK_SEARCHARRAY-in-BRIN-inclusion-20230608.patch (text/x-patch) patch 0008
- 0009-Support-SK_SEARCHARRAY-in-BRIN-bloom-20230608.patch (text/x-patch) patch 0009
Here's a rebased version of this patch series, no other changes. On 2/25/23 12:45, Tomas Vondra wrote: > On 2/24/23 22:07, Heikki Linnakangas wrote: >> I had a quick look at just the preliminary cleanup patches: >> >>> 0001-BRIN-bloom-cleanup-20230218.patch >> >> Looks good to me >> >>> 0002-BRIN-minmax-multi-cleanup-20230218.patch >> >> Looks good, although it would feel more natural to me to do it the other >> way round, and define 'matches' as 'bool matches', and use DatumGetBool. >> > > Yeah, probably. I was trying to only do the minimal change because of > (maybe) backpatching this. > I haven't changed this. Heikki, do you think these cleanup parts should be backpatched? If yes, do you still think it should be reworked to do it the other way, or like I did it do minimize the change? regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Improve BRIN minmax-multi opclass test coverage
- 0457109344b4 17.0 landed
-
Introduce bloom_filter_size for BRIN bloom opclass
- 2b8b2852bbc5 17.0 landed
-
Minor cleanups in the BRIN code
- 28d03feac386 17.0 landed
-
Support GiST index support functions that want to cache data across calls.
- d22a09dc70f9 9.2.0 cited