Turn autocommit off ?

Поиск
Список
Период
Сортировка
Искать
От
Andreas Joppich
Тема
Turn autocommit off ?
Дата
Msg-id
360118DF.37BC@usa.net
Список
Дерево обсуждения
Re: [SQL] Turn autocommit off ? Federico Passaro <fede@link.it>
Re: [SQL] Turn autocommit off ? Bruce Momjian <maillist@candle.pha.pa.us>
Hi there !

It has now happened several times that I wanted to rollback some 
changes (like update, delete,...) I made to some tables. And since I
always forget to start a transaction, a simple ROLLBACK doesn't work
because of that quiet annoying autocommit in psql. 

I'd like to have automatically started a transaction which explicitly
must be termintated with commit or rollback.

Is there a way to turn autocommit off ? If not, perhaps it could
be a feature for the todo list ?

I'm currently using the cvs from last sunday on linux 2.1.119.

Thanks for any hints. 

Andreas
В списке pgsql-sql по дате отправления
От: Jose' Soares
Дата:
Сообщение: Re: [SQL] Datetime field
От: Federico Passaro
Дата:
FAQ