From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Bill MacArthur <webmaster@dhs-club.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: compare integer to inet
Date: Sun, 21 Aug 2011 21:34:58 +0200
Message-ID: <m2r54ev9r1.fsf@2ndQuadrant.fr> (raw)
In-Reply-To: <4E4EE29F.2070209@dhs-club.com>
References: <4E4EE29F.2070209@dhs-club.com>
Bill MacArthur <webmaster@dhs-club.com> writes:
> The reason I ask for this is that we have a dataset that contains
> ranges of IP addresses, associated with countries, where the addresses
> are represented as integers (bigints).
I would then use the ip4r extension, which is very very good for that
kind of things.
http://pgfoundry.org/projects/ip4r/
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
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-admin@postgresql.org
Cc: dimitri@2ndQuadrant.fr, webmaster@dhs-club.com
Subject: Re: compare integer to inet
In-Reply-To: <m2r54ev9r1.fsf@2ndQuadrant.fr>
* 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