Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx> writes:
> > params[0] = DirectFunctionCall1(textin,
> > CStringGetDatum(pstrdup("192.168.1.1")));
> 
> Should't you be using inet_in instead of textin?
> 
> 
> Regards.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[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]
  Powered by Linux