pgsql: Generalize index support in network support function

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Generalize index support in network support function
Date: 2025-03-25 06:17:11
Message-ID: E1twxb5-000sld-1Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)dilger(at)enterprisedb(dot)com>
Co-authored-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330(at)enterprisedb(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/be1cc9aaf5b79f07bc0483a0c95366c77a844d0a

Modified Files
--------------
src/backend/utils/adt/network.c | 37 +++++--------------------------------
1 file changed, 5 insertions(+), 32 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2025-03-25 08:40:39 pgsql: libpq: Deprecate pg_int64.
Previous Message Michael Paquier 2025-03-25 05:19:58 pgsql: Add support for custom_query_jumble as a node field attribute