X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 8F7E79DC9A4 for ; Thu, 23 Feb 2006 03:59:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90874-06 for ; Thu, 23 Feb 2006 03:59:26 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by postgresql.org (Postfix) with ESMTP id 28F319DC941 for ; Thu, 23 Feb 2006 03:59:22 -0400 (AST) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id k1N93XOp015352; Thu, 23 Feb 2006 11:03:33 +0200 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id k1N93WoD015348; Thu, 23 Feb 2006 11:03:32 +0200 Date: Thu, 23 Feb 2006 11:03:32 +0200 (EET) From: Achilleus Mantzios To: Markus Schaber cc: pgsql-sql@postgresql.org Subject: Re: Feature, my misconception or bug?? In-Reply-To: <43FC5F94.70106@logix-tt.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.111 required=5 tests=[AWL=0.111] X-Spam-Score: 0.111 X-Spam-Level: X-Archive-Number: 200602/276 X-Sequence-Number: 24286 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