Re: Confusion over Python drivers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew McNamara <andrewm(at)object-craft(dot)com(dot)au>
Cc: Greg Smith <greg(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Confusion over Python drivers
Date: 2010-02-11 05:46:32
Message-ID: 2821.1265867192@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew McNamara <andrewm(at)object-craft(dot)com(dot)au> writes:
>> That's just a matter of prioritizing the issues. Put the big ones at
>> the top, the trivia at the bottom, [...]

> I'd like to see a requirement for the use of PQexecParams() over PQexec() -
> even when using libpq's PQescapeStringConn(), PQexec() makes me uneasy.

Such a rule seems pretty entirely pointless, unless you have a way to
enforce that the query string passed to the function hasn't been
assembled from parts somewhere along the way.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2010-02-11 05:59:50 Re: Confusion over Python drivers {license}
Previous Message tomas 2010-02-11 05:31:20 Re: knngist patch support