Re: BUG #18549: Support ipv6 link-local addresses in the inet type - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18549: Support ipv6 link-local addresses in the inet type
Date
Msg-id 895684.1721666217@sss.pgh.pa.us
Whole thread Raw
In response to BUG #18549: Support ipv6 link-local addresses in the inet type  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #18549: Support ipv6 link-local addresses in the inet type
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> One of the variations of ipv6 addresses is link-local addresses. It would be
> nice if they could be stored in an inet column.

> Example: fe80::249a:57ff:fed6:695f%host0/128 . Note the %host0

This has been discussed in the past.  One problem is that there is no
cross-platform standardization of what the name following % can be.
So we couldn't do much better than accepting it on faith and storing
it as a string, which is not very nice.  It's also very unclear how
such a marker should affect the semantics of inet operators and
functions.

Maybe someday somebody will get motivated to try to surmount those
problems, but don't hold your breath.

            regards, tom lane



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18549: Support ipv6 link-local addresses in the inet type
Next
From: Diego Stammerjohann
Date:
Subject: A generated column cannot be part of a partition key