Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 3C5352E3B8B for ; Thu, 10 Jan 2008 19:42:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 52982-10 for ; Thu, 10 Jan 2008 19:41:58 -0400 (AST) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.229]) by postgresql.org (Postfix) with ESMTP id 673AF2E3A40 for ; Thu, 10 Jan 2008 19:41:58 -0400 (AST) Received: by nz-out-0506.google.com with SMTP id l8so512217nzf.28 for ; Thu, 10 Jan 2008 15:41:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=V55hmTo9CQpsYeQdlVurpC5xWYhHaieY1u4RrwFn8vc=; b=c7/XYxisJcWfRa8aqHT1cfrlVvpoq//LrZQigyieSfcBz9lJJeyHNZShCNYyCZ4N4QrXhbEqbgfA9PCCQb5aIyQ6fCVvJkEAHkX0q77uC+QvEGovBVsra7DD67ymmYxWH0uGx4jhnkA98LAiQwClHg9VD81Pur/Ad3y1k51UvbE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U5RSZ1rpyWX6WQN+jJqgGukg+B8Jn24Cu7YUQvAbZ8uSjGVGwfi+fLHs+SIFzH6YaJG94XIieX6F1uQvGhjyy6C1bONrLOZBghqlsOfNV4jxgxeHiDYyHMRrBcyacnU4SDo3u9xSLtwbw44VvtuUrDCR97NSOmQngpLA7066Ttc= Received: by 10.143.188.4 with SMTP id q4mr1434582wfp.154.1200008516851; Thu, 10 Jan 2008 15:41:56 -0800 (PST) Received: by 10.143.123.5 with HTTP; Thu, 10 Jan 2008 15:41:56 -0800 (PST) Message-ID: <36e682920801101541o7626bbddj428617144240c554@mail.gmail.com> Date: Thu, 10 Jan 2008 18:41:56 -0500 From: "Jonah H. Harris" To: "Steve Atkins" Subject: Re: Best way to index IP data? Cc: "PostgreSQL Performance" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200801101614.54729.kevin@kevinkempterllc.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/61 X-Sequence-Number: 28300 On Jan 10, 2008 6:25 PM, Steve Atkins wrote: > http://pgfoundry.org/projects/ip4r/ > > That has the advantage over using integers, or the built-in inet type, > of being indexable for range and overlap queries. Agreed. ip4r is da bomb. -- Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324 EnterpriseDB Corporation | fax: 732.331.1301 499 Thornall Street, 2nd Floor | jonah.harris@enterprisedb.com Edison, NJ 08837 | http://www.enterprisedb.com/