> On 17 May 2024, at 21:41, Tomas Vondra <tomas.von...@enterprisedb.com> wrote:
> 
> Hi,
> 
> I've been looking at GiST to see if there could be a good way to do
> parallel builds - and there might be, if the opclass supports sorted
> builds, because then we could parallelize the sort.
> 
> But then I noticed we support this mode only for point_ops, because
> that's the only opclass with sortsupport procedure. Which mostly makes
> sense, because types like geometries, polygons, ... do not have a well
> defined order.
> 
> Still, we have btree_gist, and I don't think there's much reason to not
> support sorted builds for those opclasses, where the gist opclass is
> defined on top of btree ordering semantics.
> 


I wonder if it was possible to add sort support to pg_trgm. Speeding up index 
build for multicolumn indexes supporting text search would be great.

—
Michal



Reply via email to