Refactor multirange_in()

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 16d531a30a120d13cc3b460fba6570024a1fcfa8
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2020-12-30T18:17:34Z
Releases: 14.0
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

Files

PathChange+/−
src/backend/utils/adt/multirangetypes.c modified +30 −16

Discussion

Cited messages not in the archive: 2246043.1609290699@sss.pgh.pa.us