Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9FE8C4758CF for ; Thu, 5 Sep 2002 16:48:35 -0400 (EDT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 0C2E2475F32 for ; Thu, 5 Sep 2002 16:48:34 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g85KmSM18285; Thu, 5 Sep 2002 16:48:28 -0400 (EDT) From: Bruce Momjian Message-Id: <200209052048.g85KmSM18285@candle.pha.pa.us> Subject: Re: turn off auto-commit In-Reply-To: To: nickf@ontko.com Date: Thu, 5 Sep 2002 16:48:28 -0400 (EDT) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/60 X-Sequence-Number: 5599 Nick Fankhauser wrote: > > > Bruce Momjian wrote: > > > > Yes, autocommit appears in 7.3, due out in a few months. > > I'm confused. > > Isn't autocommit already there & on by default in psql currently? He wants to turn autocomit off: $ psql test=> UPDATE tab SET col = 1; test=> UPDATE tab2 SET col = 2; test=> COMMIT; With autocommit off, you basically start in a multi-statement transaction at the start and every time you commit. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073