On 5/18/24 08:51, Andrey M. Borodin wrote:
>
>
>> On 18 May 2024, at 00:41, Tomas Vondra
>> <tomas.vondra@enterprisedb.com> wrote:
>>
>> if the opclass supports sorted builds, because then we could
>> parallelize the sort.
>
> Hi Tomas!
>
> Yup, I'd also be glad to see this feature. PostGIS folks are using
> their geometry (sortsupport was developed for this) with object id
> (this disables sort build).
>
> It was committed once [0], but then reverted, vardata opclasses were
> implemented wrong. Now it's on CF[1], Bernd is actively responding in
> the thread, but currently patch lacks tests.
>
> Thanks for raising this!
>
Oh, damn! I didn't notice the CF already has a patch doing this, and
that it was committed/reverted in 2021. I was completely oblivious to
that. Apologies.
Let's continue working on that patch/thread, I'll take a look in the
next CF.
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company