Achilleus Mantzios wrote:
> In PgSQL 7.4.12,
>
> foodb=# SELECT '255.255.255.255/24'::cidr;
> ERROR: invalid cidr value: "255.255.255.255/24"
> DETAIL: Value has bits set to right of mask.
> foodb=#
>
> SELECT '255.255.255.255/25'::cidr;
> cidr
> --------------------
> 255.255.255.255/25
> (1 row)
This one is refused in 8.1, so I guess that's a fixed bug.
HTH,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org