Re: [GENERAL] cidr and inet

Поиск
Список
Период
Сортировка
От Aaron J. Seigo
Тема Re: [GENERAL] cidr and inet
Дата
Msg-id 9910211340580A.10632@stilborne
обсуждение исходный текст
Ответ на cidr and inet  (soundar rajan <psrajan@yahoo.com>)
Список pgsql-general
hi...

> insert into ip values (10.20.30.40);
>
> It always points to the third part of the IP (ie, 100
> in case of 10.30.100.200)
>
pgsql is seeing it as a decimal number. enclose it in single quotes and it will
work fine.

insert into ip values ('10.20.30.40');


--
Aaron J. Seigo
Sys Admin

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

Предыдущее
От: "amy cheng"
Дата:
Сообщение: Re: [GENERAL] cidr and inet
Следующее
От: Jimmie Houchin
Дата:
Сообщение: What's WAL (wasRe: [GENERAL] Postgres INSERTs much slower than MySQL?)