Generalize index support in network support function
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 25 Mar 2025 06:11:56 +0000 (07:11 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 25 Mar 2025 06:11:56 +0000 (07:11 +0100)
commitbe1cc9aaf5b79f07bc0483a0c95366c77a844d0a
tree95b6d598cb5cbf90e14eecb5753c5b49b07e787b
parent5ac462e2b7ac97685de9f34b17296640220d0bfc
Generalize index support in network support function

The network (inet) support functions currently only supported a
hardcoded btree operator family.  With the generalized compare type
facility, we can generalize this to support any operator family from
any index type that supports the required operators.

Author: Mark Dilger <mark.dilger@enterprisedb.com>
Co-authored-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com
src/backend/utils/adt/network.c