Skip site navigation (1) Skip section navigation (2)

BUG #5071: abbrev() bug with IPv6

From: "" <alexander(dot)over(at)koeln(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5071: abbrev() bug with IPv6
Date: 2009-09-22 04:54:48
Message-ID: 200909220454.n8M4sm6c006957@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      5071
Logged by:          
Email address:      alexander(dot)over(at)koeln(dot)de
PostgreSQL version: 8.3.7
Operating system:   Debian Lenny 64Bit
Description:        abbrev() bug with IPv6
Details: 

I have a Database to store IPV6 addresses.
Field "net" is type cidr.

e.g.: '2001:400::/32' as value.

"SELECT abbrev(net) FROM ipstore;"

expected result: "2001:400::/32" (its already short v6)

actual result: "2001:400/32" wich is invalid v6 Syntax.

Responses

pgsql-bugs by date

Next:From: Bhushan VermaDate: 2009-09-22 05:54:04
Subject: Re: Databse installation problem
Previous:From: Tom LaneDate: 2009-09-21 23:30:51
Subject: Re: BUG #5066: plperl issues with perl_destruct() and END blocks

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group