Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.8.8/8.8.8) with ESMTP id MAA22172 for ; Thu, 17 Sep 1998 12:00:23 -0400 (EDT) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id MAA01511; Thu, 17 Sep 1998 12:00:20 -0400 (EDT) From: Bruce Momjian Message-Id: <199809171600.MAA01511@candle.pha.pa.us> Subject: Re: [SQL] Turn autocommit off ? In-Reply-To: <360118DF.37BC@usa.net> from Andreas Joppich at "Sep 17, 1998 4:12:47 pm" To: ajoppich@usa.net Date: Thu, 17 Sep 1998 12:00:20 -0400 (EDT) Cc: pgsql-sql@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > 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. Ingres does this. I will add it to the TODO list. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 http://www.op.net/~candle | (610) 353-9879(w) + If your life is a hard drive, | (610) 853-3000(h) + Christ can be your backup. |