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

Поиск
Список
Период
Сортировка
От Volkan YAZICI
Тема Re: SPI_execute_plan(): how to make a Datum to insert type inet ?
Дата
Msg-id 87prtq7cij.fsf@alamut.mobiliz.com.tr
обсуждение исходный текст
Ответ на SPI_execute_plan(): how to make a Datum to insert type inet ?  (Alex Vinogradovs <AVinogradovs@Clearpathnet.com>)
Список pgsql-general
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 по дате отправления:

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