pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: Achilleus Mantzios <achill@matrix.gatewaynet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Feature, my misconception or bug??
Date: Wed, 22 Feb 2006 13:56:52 +0100
Message-ID: <43FC5F94.70106@logix-tt.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0602221338240.12169-100000@matrix.gatewaynet.com>
References: <Pine.LNX.4.44.0602221338240.12169-100000@matrix.gatewaynet.com>

Achilleus Mantzios wrote:
> 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)

This one is refused in 8.1, so I guess that's a fixed bug.

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



view thread (6+ messages)  latest in thread

Message-ID: <43FC5F94.70106@logix-tt.com>
Permalink:  ../43FC5F94.70106@logix-tt.com/
Also on:    postgresql.org/message-id/43FC5F94.70106@logix-tt.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: schabi@logix-tt.com, achill@matrix.gatewaynet.com
  Subject: Re: Feature, my misconception or bug??
  In-Reply-To: <43FC5F94.70106@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