Improve the signature of internal multirange functions There is a set of *_internal() functions exposed in include/utils/multirangetypes.h. This commit improves the signatures of these functions in two ways. * Add const qualifies where applicable. * Replace multirange typecache argument with range typecache argument. Multirange typecache was used solely to find the range typecache. At the same time, range typecache is easier for the caller to find.
Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d1d61a8b23b604faf797695eeacaa5da4fe64762 Modified Files -------------- src/backend/utils/adt/multirangetypes.c | 206 +++++++++++++++++--------------- src/include/utils/multirangetypes.h | 69 ++++++----- 2 files changed, 153 insertions(+), 122 deletions(-)
