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: Fixes for multirange selectivity estimation
Date: Tue, 29 Jun 2021 20:19:13 +0000
Message-ID: <E1lyKCP-000234-2H@gemulon.postgresql.org> (raw)

Fixes for multirange selectivity estimation

 * Fix enumeration of the multirange operators in calc_multirangesel() and
   calc_multirangesel() switches.
 * Add more regression tests for matching to empty ranges/multiranges.

Reported-by: Alexander Lakhin
Discussion: https://postgr.es/m/c5269c65-f967-77c5-ff7c-15e621c47f6a%40gmail.com
Author: Alexander Korotkov
Backpatch-through: 14, where multiranges were introduced

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/322e82b77ef4acb9697c6e4259292f5671cb85bb

Modified Files
--------------
src/backend/utils/adt/multirangetypes_selfuncs.c |  38 ++--
src/test/regress/expected/multirangetypes.out    | 210 +++++++++++++++++++++++
src/test/regress/sql/multirangetypes.sql         |  37 ++++
3 files changed, 272 insertions(+), 13 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1lyKCP-000234-2H@gemulon.postgresql.org>
Permalink:  ../E1lyKCP-000234-2H@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lyKCP-000234-2H@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: Fixes for multirange selectivity estimation
  In-Reply-To: <E1lyKCP-000234-2H@gemulon.postgresql.org>
  References: <E1lyKCP-000234-2H@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