type cast

From: Imre Horvath <blemidon(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: type cast
Date: 2010-08-10 16:38:06
Message-ID: 1281458286.7072.2.camel@cytherian.blemidon.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi!

I don't know if it's the right place or the psycopg2 list:

I've got a plpython function, with a character varying param.
I can call it from sql.
But when i try to call it with psycopg2.callproc('testfunc', ['test']),
i've got the error:
function testfunc(unknown) does not exist
HINT: No function matches the given name and argument types. You might
need to add explicit type casts.

Thanks in advance:
Imre Horvath

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2010-08-10 16:48:14 Re: type cast
Previous Message Dmitriy Igrishin 2010-08-10 13:35:12 libpq