pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Florian Weimer <fweimer@bfk.de>
To: pgsql-performance@postgresql.org
Subject: Re: Best way to index IP data?
Date: Mon, 14 Jan 2008 15:05:27 +0100
Message-ID: <82ir1wfqoo.fsf@mid.bfk.de> (raw )
In-Reply-To: <20080114111921.GE5294@mathom.us >
References: <Pine.LNX.4.64.0801111025390.30762@localhost >
<13179.1200064791@sss.pgh.pa.us >
<20080111162747.GT5294@mathom.us >
<24044.1200082058@sss.pgh.pa.us >
<20080111212703.GU5294@mathom.us >
<20080111213710.GD8260@alvh.no-ip.org >
<20080111220235.GX5294@mathom.us >
<20080111222403.GA7527@crankycanuck.ca >
<1259C7B1-C948-4326-B827-849C64B61A16@blighty.com >
<827iicizg7.fsf@mid.bfk.de >
<20080114111921.GE5294@mathom.us >
* Michael Stone:
>>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).
>
> Again, is this at all ambiguous *in the context of a host IP*? (IOW,
> if I say that I recieved an IP packet from 10.0.0.1, are you really
> going to ask me to clarify the netmask?)
Hmm. It's an argument for a separate CIDR type, not against a host
type.
I agree that a host type would be helpful. I currently use check
constraints to ensure no one accidentally stores data of the wrong
type, which is not ideal (space is not a main concern at this point).
--
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
view thread (42+ messages) latest in thread
Message-ID: <82ir1wfqoo.fsf@mid.bfk.de>
Permalink: ../82ir1wfqoo.fsf@mid.bfk.de/
Also on: postgresql.org/message-id/82ir1wfqoo.fsf@mid.bfk.de
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: fweimer@bfk.de
Subject: Re: Best way to index IP data?
In-Reply-To: <82ir1wfqoo.fsf@mid.bfk.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox