Re: What datatype should I use to store an IP Address?

Поиск
Список
Период
Сортировка
От Michał Pawlikowski
Тема Re: What datatype should I use to store an IP Address?
Дата
Msg-id 217ea9ed1003250328i565eb0fax1084c59c130cf8ed@mail.gmail.com
обсуждение исходный текст
Ответ на What datatype should I use to store an IP Address?  (Andre Lopes <lopes80andre@gmail.com>)
Ответы Re: What datatype should I use to store an IP Address?
Список pgsql-general
>On Thu, Mar 25, 2010 at 11:25 AM, Andre Lopes <lopes80andre@gmail.com> wrote:
> Hi,
>
> I'm using Varchar(16) to store an IP Address. PostgreSQL offers another
> datatypes to store IP's or it is OK to store in Varchar(16)?
>
> Best Regards,
>

Yes, just look here:
http://www.postgresql.org/docs/8.4/static/datatype-net-types.html

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

Предыдущее
От: Andre Lopes
Дата:
Сообщение: What datatype should I use to store an IP Address?
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: What datatype should I use to store an IP Address?