Incrementing INET fields - Mailing list pgsql-hackers

From Peter Nixonn
Subject Incrementing INET fields
Date
Msg-id ekeno2$kt6$1@sea.gmane.org
Whole thread Raw
Responses Re: Incrementing INET fields  (Andrew Sullivan <ajs@crankycanuck.ca>)
Re: Incrementing INET fields  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi Guys

Is there any particular reason why you can't do something like:select '10.1.1.1'::inet + 1;

I would dearly like to be able to autoincrement an INET field. Even better I
would like to be able to specify subnet or range limits on the
autoincrement, but that would be just icing on the cake..

Is there some technical reason (other than finite developer time) that this
isn't possible at present?

Regards
-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc



pgsql-hackers by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Integrating Replication into Core
Next
From: Andrew Sullivan
Date:
Subject: Re: [CORE] RC1 blocker issues