On Nov 20, 2007, at 3:41 PM, Tom Lane wrote:
"Sander Steffann" <s.steffann@xxxxxxxxxxx> writes:
From: "Harald Fuchs" <hf0217x@xxxxxxxxxxxxxx>
Forget inet. Check out http://pgfoundry.org/projects/ip4r/ and
be happy.
I would be happy if it would support IPv6 :-) Are there plans to
make ip6r
or something like that?
What's the point? You might as well use the regular inet type if you
need to handle ipv6.
ip4r's main advantage over inet is that it allows you to answer
the question "is this IP address in any of these large number of
address ranges" efficiently. It's useful for customer address
allocation, email filtering blacklists, things like that.
A range-indexable ipv6 type would be useful in theory, but I've
not seen a need for it in production yet. When there is, extending
ip4r to become ip6r would be possible.
Cheers,
Steve
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
message can get through to the mailing list cleanly