Re: [PATCH] Add sortsupport for range types and btree_gist

Bernd Helmle <mailings@oopsware.de>

From: Bernd Helmle <mailings@oopsware.de>
To: "Andrey M. Borodin" <x4mmm@yandex-team.ru>
Cc: Michael Paquier <michael@paquier.xyz>, jian he <jian.universality@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-01-15T13:20:24Z
Lists: pgsql-hackers

Attachments

Am Montag, dem 09.12.2024 um 23:26 +0500 schrieb Andrey M. Borodin:
> > On 9 Dec 2024, at 22:10, Bernd Helmle <mailings@oopsware.de> wrote:
> > 
> > So here's a version with the original, unchanged regression tests
> > and
> > injection point removed (i hope i forgot nothing to revert).
> 
> Besides unnecessary indentation changes in
> contrib/btree_gist/Makefile, the patch seems good to me.

Commit 630f9a43cece93cb4a5c243b30e34abce6a89514 created a conflict with
this patch so that it doesn't apply anymore.

Attached is a rebased version.

	Bernd

Commits

  1. Add support for sorted gist index builds to btree_gist

  2. Add GiST and btree sortsupport routines for range types

  3. Change gist stratnum function to use CompareType

  4. Doc: improve documentation for jsonpath behavior.

  5. Add sortsupport for gist_btree opclasses, for faster index builds.