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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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