Re: Feature, my misconception or bug?? - Mailing list pgsql-sql

From Achilleus Mantzios
Subject Re: Feature, my misconception or bug??
Date
Msg-id Pine.LNX.4.44.0602231102400.15345-100000@matrix.gatewaynet.com
Whole thread Raw
In response to Re: Feature, my misconception or bug??  (Markus Schaber <schabi@logix-tt.com>)
List pgsql-sql
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



pgsql-sql by date:

Previous
From: "Owen Jacobson"
Date:
Subject: Re: Update in all tables
Next
From: Mario Splivalo
Date:
Subject: Re: 'locking' the SELECTs based on indices...