Re: plPgSQL + CDIR/INET types ...

From: Harald Fuchs <hari(dot)fuchs(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: plPgSQL + CDIR/INET types ...
Date: 2010-03-31 11:58:42
Message-ID: pur5n0ln2l.fsf@srv.protecting.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In article <alpine(dot)BSF(dot)2(dot)00(dot)1003302306490(dot)97069(at)hub(dot)org>,
"Marc G. Fournier" <scrappy(at)hub(dot)org> writes:

> Has anyone either played with, or gotten to work, a plPgSQL function
> that would take: 192.168.1.1/24 and determine the start and end IP
> from that? Or even start IP + # of IPs in the subnet?

Just install ip4r from pgfoundry, and you'll never look back at the old
cidr/inet types.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Anssi Kääriäinen 2010-03-31 14:02:37 using gist index with dual-temporal timestamp values
Previous Message Sean Davis 2010-03-31 10:40:00 Re: [NOVICE] Connect to postgresql database using Perl