pgsql: Refactor multirange_in()

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Refactor multirange_in()
Date: 2020-12-30 18:17:43
Message-ID: E1kug2Z-0003MV-92@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Refactor multirange_in()

This commit preserves the logic of multirange_in() but makes it more clear
what's going on. Also, this commit fixes the compiler warning spotted by the
buildfarm.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/2246043.1609290699%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/16d531a30a120d13cc3b460fba6570024a1fcfa8

Modified Files
--------------
src/backend/utils/adt/multirangetypes.c | 46 +++++++++++++++++++++------------
1 file changed, 30 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2020-12-30 18:20:36 Re: pgsql: Multirange datatypes
Previous Message Tom Lane 2020-12-30 17:56:34 pgsql: Use setenv() in preference to putenv().