pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-sql@postgresql.org
Subject: Feature, my misconception or bug??
Date: Wed, 22 Feb 2006 14:04:37 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0602221338240.12169-100000@matrix.gatewaynet.com> (raw)


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




view thread (6+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0602221338240.12169-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0602221338240.12169-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0602221338240.12169-100000@matrix.gatewaynet.com

 · 

reply

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: achill@matrix.gatewaynet.com
  Subject: Re: Feature, my misconception or bug??
  In-Reply-To: <Pine.LNX.4.44.0602221338240.12169-100000@matrix.gatewaynet.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