pgsql: Fix range_cmp_bounds for the case of equal-valued exclusive boun

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix range_cmp_bounds for the case of equal-valued exclusive boun
Date: 2011-11-17 21:52:33
Message-ID: E1RR9sn-00052A-Sr@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-11-17 23:28:51 pgsql: Extend the unknowns-are-same-as-known-inputs type resolution heu
Previous Message Thom Brown 2011-11-17 21:45:26 Re: pgsql: Don't quote language name