Re: SPI_execute_plan(): how to make a Datum to insert type inet ?

Поиск
Список
Период
Сортировка
От Alex Vinogradovs
Тема Re: SPI_execute_plan(): how to make a Datum to insert type inet ?
Дата
Msg-id 1205954395.9864.18.camel@localhost
обсуждение исходный текст
Ответ на SPI_execute_plan(): how to make a Datum to insert type inet ?  (Alex Vinogradovs <AVinogradovs@Clearpathnet.com>)
Список pgsql-general
That solved my problem. Thanks!


On Wed, 2008-03-19 at 21:13 +0200, Volkan YAZICI wrote:
> On Wed, 19 Mar 2008, Alex Vinogradovs <AVinogradovs@Clearpathnet.com> writes:
> > params[0] = DirectFunctionCall1(textin,
> > CStringGetDatum(pstrdup("192.168.1.1")));
>
> Should't you be using inet_in instead of textin?
>
>
> Regards.

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: tsearch2 in postgresql 8.3.1 - invalid byte sequence for encoding "UTF8": 0xc3
Следующее
От: Volkan YAZICI
Дата:
Сообщение: Re: SPI_execute_plan(): how to make a Datum to insert type inet ?