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 4F07A9DC9E4 for ; Wed, 22 Feb 2006 07:00:42 -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 89184-10 for ; Wed, 22 Feb 2006 07:00:44 -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 10C199DC857 for ; Wed, 22 Feb 2006 07:00:32 -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 k1MC4bOp012308 for ; Wed, 22 Feb 2006 14:04:37 +0200 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id k1MC4bH2012304 for ; Wed, 22 Feb 2006 14:04:37 +0200 Date: Wed, 22 Feb 2006 14:04:37 +0200 (EET) From: Achilleus Mantzios To: pgsql-sql@postgresql.org Subject: Feature, my misconception or bug?? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.11 required=5 tests=[AWL=0.110] X-Spam-Score: 0.11 X-Spam-Level: X-Archive-Number: 200602/262 X-Sequence-Number: 24272 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) foodb=# in this case 11111111.11111111.11111111.11111111 has no bits set to right of 8 LSB ^ ?? -- -Achilleus