Re: [INTERFACES] Roadmap for FE/BE protocol redesign - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [INTERFACES] Roadmap for FE/BE protocol redesign
Date
Msg-id 200303220153.h2M1r9X01499@candle.pha.pa.us
Whole thread Raw
In response to Re: [INTERFACES] Roadmap for FE/BE protocol redesign  (Barry Lind <blind@xythos.com>)
List pgsql-hackers
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,
Pennsylvania19073
 



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: A bad behavior under autocommit off mode
Next
From: Bruce Momjian
Date:
Subject: Re: installcheck failure