X-Original-To: pgsql-hackers@postgresql.org Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 75622474E4F for ; Fri, 21 Mar 2003 12:46:12 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h2LHk2912957; Fri, 21 Mar 2003 12:46:02 -0500 (EST) From: Bruce Momjian Message-Id: <200303211746.h2LHk2912957@candle.pha.pa.us> Subject: Re: [INTERFACES] Roadmap for FE/BE protocol redesign In-Reply-To: <14030.1048268545@sss.pgh.pa.us> To: Tom Lane Date: Fri, 21 Mar 2003 12:46:02 -0500 (EST) Cc: Peter Eisentraut , Alvaro Herrera , PostgreSQL Development X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200303/929 X-Sequence-Number: 37175 Tom Lane wrote: > Bruce Momjian writes: > > Peter Eisentraut wrote: > >> The standard only covers embedded C programs. Other interfaces that are > >> covered by other standards require other settings. > > > My point was that _the_ standard requires autocommit off, not that > > everyone is using autocommit off. > > Peter's point is good: the only interface that is actually subject to the > part of the spec you are quoting is ecpg. It could reasonably be argued > that libpq should only support autocommit-on, because that's the > historical behavior that programs written atop libpq expect. The other > client libraries have their own specs to adhere to. But isn't that like saying that the spec doesn't apply to libpq at all. Why would autocommit not apply but other queries specification apply? -- 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