X-Original-To: pgsql-hackers@postgresql.org Received: from mail.xythos.com (unknown [206.14.210.116]) by postgresql.org (Postfix) with ESMTP id 8470B474E42 for ; Fri, 21 Mar 2003 18:28:02 -0500 (EST) Received: from ravms by mail.xythos.com with mail-ok (Exim 3.36 #3) id 18wW0j-0006p9-00; Fri, 21 Mar 2003 23:33:17 +0000 Received: from h-66-166-17-184.snvacaid.covad.net ([66.166.17.184] helo=xythos.com) by mail.xythos.com with asmtp (Exim 3.36 #3) id 18wW0j-0006oy-00; Fri, 21 Mar 2003 23:33:17 +0000 Message-ID: <3E7BA003.9070501@xythos.com> Date: Fri, 21 Mar 2003 15:28:03 -0800 From: Barry Lind User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruce Momjian Cc: Tom Lane , Peter Eisentraut , Alvaro Herrera , PostgreSQL Development Subject: Re: [INTERFACES] Roadmap for FE/BE protocol redesign References: <200303212252.h2LMqsF20161@candle.pha.pa.us> In-Reply-To: <200303212252.h2LMqsF20161@candle.pha.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Envelope-To: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, peter_e@gmx.net, alvherre@dcc.uchile.cl, pgsql-hackers@postgresql.org X-Archive-Number: 200303/949 X-Sequence-Number: 37195 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. > > 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. --Barry > > --------------------------------------------------------------------------- > > Tom Lane wrote: > >>Bruce Momjian writes: >> >>>Man, I lost another vote! :-) >> >>Happens to us all ;-) >> >>But this discussion is far from over ... not that many people have >>weighed in yet. Also, even if autocommit's fate is sealed, we still >>have to think about how to handle the other variables Barry identified >>as trouble spots. >> >> regards, tom lane >> > >