Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

psycopg by date

Next:From: Federico Di GregorioDate: 2012-06-18 10:04:03
Subject: Re: Capacity questions
Previous:From: Adrian KlaverDate: 2012-06-17 18:17:19
Subject: Re: Capacity questions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group