Re: Feature, my misconception or bug??

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Feature, my misconception or bug??
Date: 2006-02-22 12:56:52
Message-ID: 43FC5F94.70106@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Irina Gadassik 2006-02-22 15:27:54 pg reserved words
Previous Message Markus Schaber 2006-02-22 12:55:11 Re: Feature, my misconception or bug??