autocommit and transactions

Поиск
Список
Период
Сортировка
От Sally Sally
Тема autocommit and transactions
Дата
Msg-id BAY101-F1217670060097E7AC90611ABBF0@phx.gbl
обсуждение исходный текст
Ответ на Re: dbmirror  (Gregory Wood <gwood@ewebengine.com>)
Список 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 по дате отправления:

Предыдущее
От: mark
Дата:
Сообщение: Re: Variable column name in plpgsql function
Следующее
От: Scott Frankel
Дата:
Сообщение: data integrity and inserts