autocommit and transactions - Mailing list pgsql-general

From Sally Sally
Subject autocommit and transactions
Date
Msg-id BAY101-F1217670060097E7AC90611ABBF0@phx.gbl
Whole thread Raw
In response to Re: dbmirror  (Gregory Wood <gwood@ewebengine.com>)
List pgsql-general
Using perl DBI I recently read that if autocommit is turned on, it does a
commit after every transaction. I wanted to confirm if this also applies to
select statements.
When I'm loading data, I need to do a select before inserting a new row and
I don't want to commit after the select because it's unnecessary. So I am
thinking of turning off the autocommit. Any thoughts?
Thanks
Sally



pgsql-general by date:

Previous
From: mark
Date:
Subject: Re: Variable column name in plpgsql function
Next
From: Scott Frankel
Date:
Subject: data integrity and inserts