On Fri, Nov 15, 2013 at 8:45 AM, Luca Ferroni <luca@befair.it> wrote:
> I followed Daniele's post
> http://initd.org/psycopg/articles/2012/10/01/prepared-statements-psycopg/
> and I tried his implementation
> https://gist.github.com/dvarrazzo/3797445
>
> but I have discovered that it does not work for a syntax error on $1
>
> In the doc I read that cursor.execute() prepares and executes statements.
> I take a look at the python and c code, but I didn't get where this happens.
Ciao Luca,
can you provide an example with the query you want to execute and the
error message?
Thank you.
-- Daniele