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

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

pgsql-hackers by date

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

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