Re: strange problem with ip6

Поиск
Список
Период
Сортировка
Искать
От
Christian Kratzer
Тема
Re: strange problem with ip6
Дата
в 16:57:39
Msg-id
20070517212801.N66637@vesihiisi.cksoft.de
Ответ на
Список
Дерево обсуждения
strange problem with ip6 Brian Hirt <bhirt@mobygames.com>
Re: strange problem with ip6 Andrew Sullivan <ajs@crankycanuck.ca>
Re: strange problem with ip6 Tom Lane <tgl@sss.pgh.pa.us>
Re: strange problem with ip6 Christian Kratzer <ck-lists@cksoft.de>
Re: strange problem with ip6 Andrew Sullivan <ajs@crankycanuck.ca>
Re: strange problem with ip6 Christian Kratzer <ck-lists@cksoft.de>
Re: strange problem with ip6 Andrew Sullivan <ajs@crankycanuck.ca>
Re: strange problem with ip6 Christian Kratzer <ck-lists@cksoft.de>
Re: strange problem with ip6 Tom Lane <tgl@sss.pgh.pa.us>
Re: strange problem with ip6 Christian Kratzer <ck-lists@cksoft.de>
Re: strange problem with ip6 Tom Lane <tgl@sss.pgh.pa.us>
Re: strange problem with ip6 Andrew Sullivan <ajs@crankycanuck.ca>
Re: strange problem with ip6 Tom Lane <tgl@sss.pgh.pa.us>
Re: strange problem with ip6 Bruce Momjian <bruce@momjian.us>
Re: strange problem with ip6 Christian Kratzer <ck-lists@cksoft.de>
Re: strange problem with ip6 Tom Lane <tgl@sss.pgh.pa.us>
Hi,

On Thu, 17 May 2007, Tom Lane wrote:

> It seems the correct solution here is to extend the inet type to support
> RFC4007 "zone_id" strings.  Yech.  Not going to happen as a bug fix,
> but we should probably put it on the TODO list.

propably yes. But we should bear in mind that addresses of different
scopes are not comparable with each other in the sense of apples vs.
oranges.

i.e:

  select 'fe80::1%em0'::inet = 'fe80::1%em1'::inet;

should return null.

Also how do we define sort order if not all values are comparable.

> As a temporary workaround, should we hack the server to suppress any
> %-foo found in the result of getnameinfo()?

Not sure what that would buy us.  Stripping the scope from the address
does not seem the right thing to do.

Extending the generic inet type with scoped addresss is another question.

Greetings
Christian

-- 
Christian Kratzer                      CK Software GmbH
Email:   ck@cksoft.de                  Schwarzwaldstr. 31
Phone:   +49 7452 889 135              D-71131 Jettingen
Fax:     +49 7452 889 136              HRB 245288, Amtsgericht Stuttgart
Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer
В списке pgsql-bugs по дате отправления
От: Andrew Sullivan
Дата:
Сообщение: Re: strange problem with ip6
От: Magnus Hagander
Дата:
FAQ