pgsql: Fix range_cmp_bounds for the case of equal-valued exclusive boun
pgsql: Fix range_cmp_bounds for the case of equal-valued exclusive boun
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Fix range_cmp_bounds for the case of equal-valued exclusive bounds. Also improve its comments and related regression tests. Jeff Davis, with some further adjustments by Tom Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/bf4f96b5e264f1c0f5d8694f11c6f9f5b3132b3b Modified Files -------------- src/backend/utils/adt/rangetypes.c | 74 ++++++++++++++++++++++++++---- src/test/regress/expected/rangetypes.out | 63 ++++++++++++++++++++----- src/test/regress/sql/rangetypes.sql | 15 ++++-- 3 files changed, 126 insertions(+), 26 deletions(-)