inet_same_family ( inet, inet ) → booleanTests whether the addresses belong to the same IP family.
inet_same_family(inet '192.168.1.5/24', inet '::1') → f
Functions / Network Address Functions And Operators
Tests whether the addresses belong to the same IP family.
Reading PG 18current·documented in 13 of 27 versions, 9.5 to 20
inet_same_family ( inet, inet ) → booleanTests whether the addresses belong to the same IP family.
inet_same_family(inet '192.168.1.5/24', inet '::1') → f
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source