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 missing commutators for distance operators
Date: Sun, 14 Jul 2019 12:18:42 +0000
Message-ID: <E1hmdSk-0006YF-SJ@gemulon.postgresql.org> (raw)

Add missing commutators for distance operators

Some of <-> operators between geometric types have their commutators missed.
This commit adds them.  The motivation is upcoming kNN support for some of those
operators.

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/6254c55f815623bb74e2cf27562437dc3b2aa2c8

Modified Files
--------------
src/backend/utils/adt/geo_ops.c        | 136 ++++-
src/include/catalog/pg_operator.dat    |  42 +-
src/include/catalog/pg_proc.dat        |  25 +
src/test/regress/expected/geometry.out | 986 +++++++++++++++++----------------
src/test/regress/sql/geometry.sql      |  15 +-
5 files changed, 687 insertions(+), 517 deletions(-)



Message-ID: <E1hmdSk-0006YF-SJ@gemulon.postgresql.org>
Permalink:  ../E1hmdSk-0006YF-SJ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hmdSk-0006YF-SJ@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 missing commutators for distance operators
  In-Reply-To: <E1hmdSk-0006YF-SJ@gemulon.postgresql.org>
  References: <E1hmdSk-0006YF-SJ@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