On Tue, Nov 28, 2006 at 12:17:20AM +0200, Peter Nixonn wrote:
> On a related note we also wrote an ippool module for radius which needs to
> have a prepopulated sqltable of ip addresses which it then hands out. Being
> able to prepopulate the table with a 10.0.0.0/8 or 192.168.0.0/24 range
> with a simple loop would be very usefull.
Seems to me you could do this with generate_series() and an int4 ->
inet conversion function.
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.