Ipv6 address stored differently while using Inet type

Поиск
Список
Период
Сортировка
От Sameer Thakur
Тема Ipv6 address stored differently while using Inet type
Дата
Msg-id CABzZFEvZWETyU=g4Ycq2O2fGDv=AfDFEAd-Udb5JeUknzrF3bA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Ipv6 address stored differently while using Inet type
Список pgsql-general
Hello,
I am using Postgres 10.4
I tried to insert ipv6 address '2001:db8:3333:4444:5555:6666:1.2.3.4'
in Postgres (10.4) in an inet column. It is stored as
2001:db8:3333:4444:5555:6666:102:304.
Why is the IP stored differently?
Does the stored IP represent the same one being inserted?
 Is this a known bug resolved in later versions of Postgres?
Thank you
Sameer


В списке pgsql-general по дате отправления:

Предыдущее
От: Mitar
Дата:
Сообщение: Re: Watching for view changes
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: Ipv6 address stored differently while using Inet type