On Wed, Jan 4, 2012 at 8:09 PM, Alban Hertroys <haram...@gmail.com> wrote:

> On 4 Jan 2012, at 3:03, 邓尧 wrote:

>> True, I don't need transactions, neither do I want them, but psycopg2 create 
>> transactions for me automatically :-(
>
> Well, if psycopg didn't, Postgres would wrap each statement in a transaction 
> anyway. But that doesn't matter.

FYI, you can have psycopg in autocommit mode if you need that:
<http://initd.org/psycopg/docs/connection.html#connection.autocommit>.

-- Daniele

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to