Re: Best way to index IP data?

From: Florian Weimer <fweimer(at)bfk(dot)de>
To: Steve Atkins <steve(at)blighty(dot)com>
Cc: PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Best way to index IP data?
Date: 2008-01-14 08:27:52
Message-ID: 827iicizg7.fsf@mid.bfk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

* Steve Atkins:

> I don't think there's ambiguity about what an dotted-quad without a
> netmask means, and hasn't been for a long time. Am I missing
> something?

Classful addressing is still part of many user interfaces, for
instance Cisco's IOS. It's not just that the CLI accepts it, it's
also the standard[*] output format (that is, "192.0.2.0" instead of
"192.0.2.0/24"; if no prefix length is given, the one based on the
class is used).

[*] I don't think you can switch it off. Obviously, for backwards
compatibility reasons, the default has to stay anyway.

--
Florian Weimer <fweimer(at)bfk(dot)de>
BFK edv-consulting GmbH http://www.bfk.de/
Kriegsstraße 100 tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Michael Stone 2008-01-14 11:19:24 Re: Best way to index IP data?
Previous Message Tom Lane 2008-01-13 20:47:50 Re: Inheritance, unique keys and performance