BUG #7832: incorrect summation of ipv6 addresses - Mailing list pgsql-bugs

From shuklin@selectel.ru
Subject BUG #7832: incorrect summation of ipv6 addresses
Date
Msg-id E1TzoHp-0004Rk-JF@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #7832: incorrect summation of ipv6 addresses
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7832
Logged by:          George Shuklin
Email address:      shuklin@selectel.ru
PostgreSQL version: 9.1.0
Operating system:   GNU/Debian Linux Wheezy
Description:        =


Normal summation:

 SELECT cidr'0::1/128'+1;
 ?column? =

----------
 ::2



SELECT cidr'0::1/128'+65535;
 ?column?  =

-----------
 ::0.1.0.0

(strange dots in the middle of the ipv6 address).

pgsql-bugs by date:

Previous
From: Abel Abraham Camarillo Ojeda
Date:
Subject: Re: BUG #7831: user defined-aggregated don't set initcond to null when unspecified, instead uses its first argument
Next
From: Tom Lane
Date:
Subject: Re: BUG #7832: incorrect summation of ipv6 addresses