git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1b3433e) | patch
Fix bugs in comparison functions for multirange_bsearch_match()
2020年12月29日 20:35:26 +0000 (23:35 +0300)
2020年12月29日 20:35:26 +0000 (23:35 +0300)
commit a5b81b6f0006ea0b502780ce7f73d295a225842c
Fix bugs in comparison functions for multirange_bsearch_match()

Two functions multirange_range_overlaps_bsearch_comparison() and
multirange_range_contains_bsearch_comparison() contain bugs of returning -1
instead of 1. This commit fixes these bugs and adds corresponding regression
tests.
src/backend/utils/adt/multirangetypes.c diff | blob | blame | history
src/test/regress/expected/multirangetypes.out diff | blob | blame | history
src/test/regress/sql/multirangetypes.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /