Re: Capacity questions

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: Bill House <wch-tech(at)house-grp(dot)net>, psycopg(at)postgresql(dot)org
Subject: Re: Capacity questions
Date: 2012-06-18 09:28:22
Message-ID: CA+mi_8aOLVuZD1BkCv8aahwkMMONOfnBWN9YqvRusPgxwat+qw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

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

In response to

Browse psycopg by date

  From Date Subject
Next Message Federico Di Gregorio 2012-06-18 10:04:03 Re: Capacity questions
Previous Message Adrian Klaver 2012-06-17 18:17:19 Re: Capacity questions