Refactor multirange_in()
authorAlexander Korotkov <[email protected]>
Wed, 30 Dec 2020 18:11:31 +0000 (21:11 +0300)
committerAlexander Korotkov <[email protected]>
Wed, 30 Dec 2020 18:17:34 +0000 (21:17 +0300)
commit16d531a30a120d13cc3b460fba6570024a1fcfa8
treeab3d15958dbd0685bbeb801ca4d9e1009c628425
parent7ca37fb0406bc2cbbd864a2ffdbdb4479e338c0c
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
src/backend/utils/adt/multirangetypes.c