pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add support for <-> (box, point) operator to SP-GiST box_ops
Date: Sun, 14 Jul 2019 12:18:42 +0000
Message-ID: <E1hmdSk-0006YI-SZ@gemulon.postgresql.org> (raw)

Add support for <-> (box, point) operator to SP-GiST box_ops

Opclass support functions already can handle this operator, just catalog
adjustment appears to be required.

Discussion: https://postgr.es/m/f71ba19d-d989-63b6-f04a-abf02ad9345d%40postgrespro.ru
Author: Nikita Glukhov
Reviewed-by: Tom Lane, Alexander Korotkov

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/075f0a880fbf790f4a3dcac83e2d5125bcad9646

Modified Files
--------------
doc/src/sgml/spgist.sgml                   |  1 +
src/include/catalog/pg_amop.dat            |  4 ++
src/test/regress/expected/box.out          | 82 +++++++++++++++++++++++++-----
src/test/regress/expected/sanity_check.out |  2 +
src/test/regress/sql/box.sql               | 70 ++++++++++++++++++++-----
5 files changed, 135 insertions(+), 24 deletions(-)



view thread (2+ messages)

Message-ID: <E1hmdSk-0006YI-SZ@gemulon.postgresql.org>
Permalink:  ../E1hmdSk-0006YI-SZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hmdSk-0006YI-SZ@gemulon.postgresql.org

 · 

reply

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 for <-> (box, point) operator to SP-GiST box_ops
  In-Reply-To: <E1hmdSk-0006YI-SZ@gemulon.postgresql.org>
  References: <E1hmdSk-0006YI-SZ@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