Search Postgresql Archives
numeric to ipv6 inet
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
:
pgsql-general@xxxxxxxxxxxxxx
Subject
: numeric to ipv6 inet
From
: Mikhail Puzanov <
misha.puzanov@xxxxxxxxx
>
Date
: Fri, 23 Aug 2013 11:56:21 +0200
Hello,
I need to convert the set of ipv6 addresses stored as numerics
(by historical reasons mostly) to inet type.
Something like
'0:0:0:0:0:0:0:0'::inet + 55831599345971591062080247067748335616::bigint
apparently doesn't work as the number added is too big to be converted to bigint.
Is there any reasonable way to do it in sql/pgplsql?
Thanks in advance.
--
Best regards,
Mikhail V. Puzanov.
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Follow-Ups
:
Re: numeric to ipv6 inet
From:
Arjen Nienhuis
Re: numeric to ipv6 inet
From:
Osvaldo Kussama
Prev by Date:
Re: Locale Issue
Next by Date:
Re: filling database
Previous by thread:
What is the relationship between checkpoint and wal
Next by thread:
Re: numeric to ipv6 inet
Index(es):
Date
Thread
[Index of Archives]
[Postgresql Jobs]
[Postgresql Admin]
[Postgresql Performance]
[Linux Clusters]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[PHP Books]
[PHP Databases]
[Postgresql & PHP]
[Yosemite]