O Markus Schaber έγραψε στις Feb 22, 2006 :
> 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.
Thanx Marcus,
it appears to have been fixed in
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/network.c.diff?r1=1.53;r2=1.54;f=h
>
> HTH,
> Markus
>
>
>
--
-Achilleus