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

From Andreas Karlsson
Subject Re: IPv6 link-local addresses and init data type
Date
Msg-id 574D6A03.8040607@proxel.se
Whole thread Raw
In response to Re: IPv6 link-local addresses and init data type  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: IPv6 link-local addresses and init data type  (Markus Wanner <markus@bluegap.ch>)
List pgsql-hackers
On 05/31/2016 04:06 AM, Tom Lane wrote:
> Andreas Karlsson <andreas@proxel.se> writes:
>> On 05/31/2016 02:37 AM, Haribabu Kommi wrote:
>>> The % delimiter character is not only used at the end of the IPV6 address,
>>> from the RFC document, it is possible as follows also.
>>>
>>> fe80::%2/64
>>>
>>> we need to handle both the scenarios,  it may not be a straight
>>> forward to store the zone id data.
>
>> This case needs to be handled by the parser for at least the cidr type,
>> but I do not think it would make parsing any trickier.
>
> Unless there's a semantic difference between fe80::1%2/64 and
> fe80::1/64%2, this doesn't seem like a big deal to me.

As far as I can till only fe80::1%2/64 is valid, but I am not 100% sure.

Andreas



pgsql-hackers by date:

Previous
From: Marco Atzeri
Date:
Subject: Re: Question and suggestion about application binary compatibility policy
Next
From: Andreas Karlsson
Date:
Subject: Re: Binary I/O for isn extension