Re: IPv6 link-local addresses and init data type - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: IPv6 link-local addresses and init data type
Date
Msg-id 9bf12c6c-77f2-56c9-14d2-209cc1f389bb@2ndquadrant.com
Whole thread Raw
In response to Re: IPv6 link-local addresses and init data type  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Responses Re: IPv6 link-local addresses and init data type  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On 6/7/16 1:19 AM, Haribabu Kommi wrote:
> How about the following case, Do we treat them as same or different?
>
> select 'fe80::%eth1'::inet = 'fe80::%ETH1'::inet;
>
> fe80::%2/64 is only treated as the valid address but not other way as
> fe80::/64%2.
> Do we need to throw an error in this case or just ignore.

I suspect questions like these are already solved in someone else's IP 
address type/object/class implementation, and we could look there.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Problem with dumping bloom extension
Next
From: Robert Haas
Date:
Subject: Re: Problem with dumping bloom extension