Re: compare integer to inet - Mailing list pgsql-admin

From Dimitri Fontaine
Subject Re: compare integer to inet
Date
Msg-id m2r54ev9r1.fsf@2ndQuadrant.fr
Whole thread Raw
In response to compare integer to inet  (Bill MacArthur <webmaster@dhs-club.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: A J
Date:
Subject: Re: Question on Postgres Index internals
Next
From: Dimitri Fontaine
Date:
Subject: Re: Validate standby against master