BUG #7832: incorrect summation of ipv6 addresses

From: shuklin(at)selectel(dot)ru
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7832: incorrect summation of ipv6 addresses
Date: 2013-01-28 12:58:09
Message-ID: E1TzoHp-0004Rk-JF@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 7832
Logged by: George Shuklin
Email address: shuklin(at)selectel(dot)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).

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-01-28 16:09:11 Re: BUG #7832: incorrect summation of ipv6 addresses
Previous Message Magnus Hagander 2013-01-28 09:45:10 Re: Review of "pg_basebackup and pg_receivexlog to use non-blocking socket communication", was: Re: Re: [BUGS] BUG #7534: walreceiver takes long time to detect n/w breakdown