Feature, my misconception or bug??

From: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Feature, my misconception or bug??
Date: 2006-02-22 12:04:37
Message-ID: Pine.LNX.4.44.0602221338240.12169-100000@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2006-02-22 12:47:32 Re: Feature, my misconception or bug??
Previous Message Michael Glaesemann 2006-02-22 09:23:40 Re: restircting rows