From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add support of multirange matching to the existing range GiST in
Date: Tue, 29 Dec 2020 20:45:42 +0000
Message-ID: <E1kuLsE-0000q2-QV@gemulon.postgresql.org> (raw)
Add support of multirange matching to the existing range GiST indexes
6df7a9698b has introduced a set of operators between ranges and multiranges.
Existing GiST indexes for ranges could easily support majority of them.
This commit adds support for new operators to the existing range GiST indexes.
New operators resides the same strategy numbers as existing ones. Appropriate
check function is determined using the subtype.
Catversion is bumped.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/db6335b5b1d6654b0e3104f36817800d127c1c91
Modified Files
--------------
doc/src/sgml/gist.sgml | 35 ++-
doc/src/sgml/rangetypes.sgml | 21 +-
src/backend/utils/adt/multirangetypes.c | 21 ++
src/backend/utils/adt/rangetypes_gist.c | 393 +++++++++++++++++++++-----
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_amop.dat | 80 ++++++
src/include/catalog/pg_amproc.dat | 18 ++
src/include/catalog/pg_opclass.dat | 2 +
src/include/catalog/pg_opfamily.dat | 2 +
src/include/catalog/pg_proc.dat | 8 +
src/include/utils/multirangetypes.h | 2 +
src/test/regress/expected/multirangetypes.out | 257 +++++++++++++++++
src/test/regress/expected/rangetypes.out | 162 +++++++++++
src/test/regress/sql/multirangetypes.sql | 63 +++++
src/test/regress/sql/rangetypes.sql | 27 ++
15 files changed, 1024 insertions(+), 69 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: akorotkov@postgresql.org
Subject: Re: pgsql: Add support of multirange matching to the existing range GiST in
In-Reply-To: <E1kuLsE-0000q2-QV@gemulon.postgresql.org>
References: <E1kuLsE-0000q2-QV@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox