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 673269DC9B4 for ; Wed, 22 Feb 2006 08:55:13 -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 08154-07 for ; Wed, 22 Feb 2006 08:55:15 -0400 (AST) X-Greylist: delayed 03:37:40.620813 by SQLgrey- Received: from mail.tacotec.de (mail.tacotec.de [83.137.101.41]) by postgresql.org (Postfix) with ESMTP id A66149DC857 for ; Wed, 22 Feb 2006 08:55:09 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by mail.tacotec.de (Postfix) with ESMTP id 99CEF11D4F3; Wed, 22 Feb 2006 13:55:11 +0100 (CET) Received: from mail.tacotec.de ([83.137.101.41]) by localhost (hera.tacotec.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06932-07; Wed, 22 Feb 2006 13:55:11 +0100 (CET) Received: from kingfisher.intern.logix-tt.com (Md556.m.pppool.de [89.49.213.86]) by mail.tacotec.de (Postfix) with ESMTP id 59CE111D4F1; Wed, 22 Feb 2006 13:55:11 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 5476918189F93; Wed, 22 Feb 2006 13:55:12 +0100 (CET) Message-ID: <43FC5F2F.8030101@logix-tt.com> Date: Wed, 22 Feb 2006 13:55:11 +0100 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Eisentraut Cc: pgsql-sql@postgresql.org, Achilleus Mantzios Subject: Re: Feature, my misconception or bug?? References: <200602221347.33355.peter_e@gmx.net> In-Reply-To: <200602221347.33355.peter_e@gmx.net> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.tacotec.de X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.122 required=5 tests=[AWL=0.122] X-Spam-Score: 0.122 X-Spam-Level: X-Archive-Number: 200602/264 X-Sequence-Number: 24274 Hi, Peter, Peter Eisentraut wrote: > Am Mittwoch, 22. Februar 2006 13:04 schrieb Achilleus Mantzios: > >>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. > > >>in this case >>11111111.11111111.11111111.11111111 >>has no bits set to right of >> 8 LSB ^ > > > I'm sure you are aware that "1" is a set bit, so which part are you not > understanding? I guess he's confused by the fact that /24 complains about bits 25-31 beeing set, while /25 does not complain aobut bigs 26-31 beeing set. HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org