On Sun, Jun 17, 2012 at 7:17 PM, Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> wrote:
> An additional comment:
>
> You really ought to consider using the parameter passing mechanism built into psycopg2:
Oh, absolutely true. I'd only seen the first query, where the % was to
pass a table name, which cannot be used (yet) as a parameter, and
didn't notice it was later used for a parameter too.
-- Daniele