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 GiST box_ops
Date: Sun, 14 Jul 2019 12:18:42 +0000
Message-ID: <E1hmdSk-0006YH-Se@gemulon.postgresql.org> (raw)

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

Index-based calculation of this operator is exact.  So, signature of
gist_bbox_distance() function is changes so that caller is responsible for
setting *recheck flag.

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/c085e1c1cb4e29637552f5d250d45ad0cb83e5cf

Modified Files
--------------
doc/src/sgml/gist.sgml             |  1 +
src/backend/access/gist/gistproc.c | 48 +++++++++++++++---------
src/include/catalog/pg_amop.dat    |  3 ++
src/include/catalog/pg_amproc.dat  |  2 +
src/include/catalog/pg_proc.dat    |  4 ++
src/test/regress/expected/gist.out | 76 ++++++++++++++++++++++++++++++++++++++
src/test/regress/sql/gist.sql      | 16 ++++++++
7 files changed, 133 insertions(+), 17 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1hmdSk-0006YH-Se@gemulon.postgresql.org>
Permalink:  ../E1hmdSk-0006YH-Se@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hmdSk-0006YH-Se@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 GiST box_ops
  In-Reply-To: <E1hmdSk-0006YH-Se@gemulon.postgresql.org>
  References: <E1hmdSk-0006YH-Se@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