pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: git@j12t.org
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18549: Support ipv6 link-local addresses in the inet type
Date: Mon, 22 Jul 2024 12:36:57 -0400
Message-ID: <895684.1721666217@sss.pgh.pa.us> (raw)
In-Reply-To: <18549-adf203ad53c1dae3@postgresql.org>
References: <18549-adf203ad53c1dae3@postgresql.org>

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





view thread (3+ messages)  latest in thread

Message-ID: <895684.1721666217@sss.pgh.pa.us>
Permalink:  ../895684.1721666217@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/895684.1721666217@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, git@j12t.org, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18549: Support ipv6 link-local addresses in the inet type
  In-Reply-To: <895684.1721666217@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox