From: | Markus Schaber <schabi(at)logix-tt(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-sql(at)postgresql(dot)org, Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
Subject: | Re: Feature, my misconception or bug?? |
Date: | 2006-02-22 12:55:11 |
Message-ID: | 43FC5F2F.8030101@logix-tt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Schaber | 2006-02-22 12:56:52 | Re: Feature, my misconception or bug?? |
Previous Message | Peter Eisentraut | 2006-02-22 12:47:32 | Re: Feature, my misconception or bug?? |