pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Imre Horvath <blemidon@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: type cast
Date: Tue, 10 Aug 2010 19:48:14 +0300
Message-ID: <1281458894.8626.0.camel@vanquo.pezone.net> (raw)
In-Reply-To: <1281458286.7072.2.camel@cytherian.blemidon.dyndns.org>
References: <1281458286.7072.2.camel@cytherian.blemidon.dyndns.org>

On tis, 2010-08-10 at 18:38 +0200, Imre Horvath wrote:
> 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.

psycopg list.  But you should add version information about psycopg and
PostgreSQL.




view thread (3+ messages)  latest in thread

Message-ID: <1281458894.8626.0.camel@vanquo.pezone.net>
Permalink:  ../1281458894.8626.0.camel@vanquo.pezone.net/
Also on:    postgresql.org/message-id/1281458894.8626.0.camel@vanquo.pezone.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: peter_e@gmx.net, blemidon@gmail.com
  Subject: Re: type cast
  In-Reply-To: <1281458894.8626.0.camel@vanquo.pezone.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox