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