From: | Alexander Korotkov <akorotkov(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fixes for multirange selectivity estimation |
Date: | 2021-06-29 20:19:13 |
Message-ID: | E1lyKCP-000234-2H@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2021-06-29 20:19:20 | pgsql: Fixes for multirange selectivity estimation |
Previous Message | Alvaro Herrera | 2021-06-29 19:06:30 | pgsql: Fix libpq state machine in pipeline mode |