Re: Best way to index IP data? - Mailing list pgsql-performance

From Florian Weimer
Subject Re: Best way to index IP data?
Date
Msg-id 827iicizg7.fsf@mid.bfk.de
Whole thread Raw
In response to Re: Best way to index IP data?  (Steve Atkins <steve@blighty.com>)
Responses Re: Best way to index IP data?
List 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@bfk.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

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Inheritance, unique keys and performance
Next
From: Michael Stone
Date:
Subject: Re: Best way to index IP data?