pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Markus Schaber <schabi@logix-tt.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Feature, my misconception or bug??
Date: Thu, 23 Feb 2006 11:03:32 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0602231102400.15345-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <43FC5F94.70106@logix-tt.com>

O Markus Schaber Ýãñáøå óôéò Feb 22, 2006 :

> 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.

Thanx Marcus,
it appears to have been fixed in

http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/network.c.diff?r1=1.53;r2=1.5...

> 
> HTH,
> Markus
> 
> 
> 

-- 
-Achilleus




view thread (6+ messages)

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