Re: [INTERFACES] Roadmap for FE/BE protocol redesign

From: Barry Lind <blind(at)xythos(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [INTERFACES] Roadmap for FE/BE protocol redesign
Date: 2003-03-21 23:28:03
Message-ID: 3E7BA003.9070501@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

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 <pgman(at)candle(dot)pha(dot)pa(dot)us> 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
>>
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2003-03-21 23:32:11 to_char(interval) --- done?
Previous Message Tom Lane 2003-03-21 23:04:54 Re: installcheck failure

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2003-03-22 01:53:09 Re: [INTERFACES] Roadmap for FE/BE protocol redesign
Previous Message Bruce Momjian 2003-03-21 22:52:54 Re: [INTERFACES] Roadmap for FE/BE protocol redesign