type cast

Поиск
Список
Период
Сортировка
От Imre Horvath
Тема type cast
Дата
Msg-id 1281458286.7072.2.camel@cytherian.blemidon.dyndns.org
обсуждение исходный текст
Ответы Re: type cast  (Peter Eisentraut <peter_e@gmx.net>)
Re: type cast  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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



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

Предыдущее
От: Dmitriy Igrishin
Дата:
Сообщение: libpq
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: type cast