Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E5C0F476B1E for ; Thu, 5 Sep 2002 14:57:44 -0400 (EDT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 32EF0476A3D for ; Thu, 5 Sep 2002 14:57:43 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g85IvaO07833; Thu, 5 Sep 2002 14:57:36 -0400 (EDT) From: Bruce Momjian Message-Id: <200209051857.g85IvaO07833@candle.pha.pa.us> Subject: Re: turn off auto-commit In-Reply-To: To: =?ISO-8859-1?Q?Bj=F6rn_Lundin?= Date: Thu, 5 Sep 2002 14:57:36 -0400 (EDT) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UNKNOWN-8BIT X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/57 X-Sequence-Number: 5596 Björn Lundin wrote: > Bruce Momjian wrote: > > > Waruna Geekiyanage wrote: > >> Does turn fsync off equivalent to turn autocommit off? > > > > No, fsync is related to flushing information to disk. It doesn't relate > > to autocommit. > > > This auto-commit on/off, is this what I think it is; > a way off NOT needing to enclose several statements in a begin/commit, > but having a new transaction directly after a commit, in psql, like > Oracle's sql*plus? > > If so, in what version was this introduced, or is this mentioned somewhere > on the web? Yes, autocommit appears in 7.3, due out in a few months. -- 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