X-Original-To: pgsql-hackers@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CBCA147612F for ; Fri, 21 Mar 2003 20:53:19 -0500 (EST) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id CEAA5476355 for ; Fri, 21 Mar 2003 20:53:18 -0500 (EST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h2M1r9X01499; Fri, 21 Mar 2003 20:53:09 -0500 (EST) From: Bruce Momjian Message-Id: <200303220153.h2M1r9X01499@candle.pha.pa.us> Subject: Re: [INTERFACES] Roadmap for FE/BE protocol redesign In-Reply-To: <3E7BA003.9070501@xythos.com> To: Barry Lind Date: Fri, 21 Mar 2003 20:53:09 -0500 (EST) Cc: Tom Lane , 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-Spam-Status: No, hits=-20.1 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, QUOTE_TWICE_1,REPLY_WITH_QUOTES autolearn=ham version=2.50-cvs X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50-cvs (1.172-2003-02-14-exp) X-Archive-Number: 200303/954 X-Sequence-Number: 37200 Barry Lind wrote: > > > Bruce Momjian wrote: > > I was thinking if we had a SET PERMANENT that couldn't be changed, > > interfaces that want to control variables could set them perminantly, > > and others could let users control it. > > SET PERMANENT only works for those variables that can only have one > value for a given client protocol (for example datestyle in jdbc). > Whereas autocommit needs to be changeable by the jdbc driver since the > jdbc spec allows the user to call an API method to change the setting. Oh, good point. > > > > > Actually, if we reported change to the client, the interface could > > override any change the user made --- just an idea. > > Reporting the change to the client seems sufficient for the client to > take whatever actions are necessary. -- 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