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