pgsql: Fixes for multirange selectivity estimation

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема pgsql: Fixes for multirange selectivity estimation
Дата
Msg-id E1lyKCW-00023f-ED@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/178ec460db0a0ced46ac5a01a28a704ca6251e53

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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Fixes for multirange selectivity estimation
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Optimize pg_checksums --enable where checksum is already set