Re: inet subtraction fails with IPv6? - Mailing list pgsql-bugs

From Robert Haas
Subject Re: inet subtraction fails with IPv6?
Date
Msg-id CA+TgmoZbvOwYdL4j1ydT5iWQa0zU=14Y6oXh5n=YP_G6Ze=5cA@mail.gmail.com
Whole thread Raw
In response to inet subtraction fails with IPv6?  (Jon Nelson <jnelson+pgsql@jamponi.net>)
Responses Re: inet subtraction fails with IPv6?  (Jon Nelson <jnelson+pgsql@jamponi.net>)
List pgsql-bugs
On Tue, Jan 31, 2012 at 10:38 AM, Jon Nelson <jnelson+pgsql@jamponi.net> wr=
ote:
> Example (using one of google's IPv6 addrs):
>
> jnelson=3D# select inet '0::0' - inet '2001:4860:4006:800::1011';
> ERROR: =A0result is out of range
> jnelson=3D#

What were you expecting to get?  There's no such thing as a negative IP add=
ress.

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: BUG #6200: standby bad memory allocations on SELECT
Next
From: Jon Nelson
Date:
Subject: Re: inet subtraction fails with IPv6?