Re: Feature, my misconception or bug??

From: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: Markus Schaber <schabi(at)logix-tt(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Feature, my misconception or bug??
Date: 2006-02-23 09:03:32
Message-ID: Pine.LNX.4.44.0602231102400.15345-100000@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Mario Splivalo 2006-02-23 10:13:37 Re: 'locking' the SELECTs based on indices...
Previous Message Owen Jacobson 2006-02-22 21:25:48 Re: Update in all tables