| From: | Markus Wanner <markus(at)bluegap(dot)ch> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Andreas Karlsson <andreas(at)proxel(dot)se>, Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>, Tom Dunstan <pgsql(at)tomd(dot)cc>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: IPv6 link-local addresses and init data type |
| Date: | 2016-06-03 18:48:24 |
| Message-ID: | 5751D0F8.4000107@bluegap.ch |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 06/03/2016 06:55 PM, Tom Lane wrote:
> More importantly,
> on what basis do you conclude that the inet type will only be asked to
> store link-local addresses that are currently valid on the local machine?
> It is not very hard to think of applications where that wouldn't be the
> case.
That's a good point.
> I think a better plan is just to store the zone string verbatim. It is
> not our job to check its validity or try to determine which spellings
> are equivalent.
Agreed.
That leaves me wondering if it's really worth extending INET, though.
TEXT would be just fine to store a textual scope id. And it makes it
utterly clear that there's no magic involved.
Kind Regards
Markus Wanner
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Fetter | 2016-06-03 19:02:18 | Negators for operators |
| Previous Message | David G. Johnston | 2016-06-03 18:42:17 | Re: PostmasterPid not marked with PGDLLIMPORT |