From: Markus Schaber <schabi@logix-tt.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-sql@postgresql.org, Achilleus Mantzios <achill@matrix.gatewaynet.com>
Subject: Re: Feature, my misconception or bug??
Date: Wed, 22 Feb 2006 13:55:11 +0100
Message-ID: <43FC5F2F.8030101@logix-tt.com> (raw)
In-Reply-To: <200602221347.33355.peter_e@gmx.net>
References: <Pine.LNX.4.44.0602221338240.12169-100000@matrix.gatewaynet.com>
<200602221347.33355.peter_e@gmx.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: schabi@logix-tt.com, peter_e@gmx.net, achill@matrix.gatewaynet.com
Subject: Re: Feature, my misconception or bug??
In-Reply-To: <43FC5F2F.8030101@logix-tt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox