Re: A bad behavior under autocommit off mode - Mailing list pgsql-hackers

From Tom Lane
Subject Re: A bad behavior under autocommit off mode
Date
Msg-id 12565.1048516851@sss.pgh.pa.us
Whole thread Raw
In response to Re: A bad behavior under autocommit off mode  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: A bad behavior under autocommit off mode  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: A bad behavior under autocommit off mode  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> We can just say, "Don't alter the client encoding behind the back of the
> driver."

We can perhaps get away with saying that for client_encoding, but what
of DateStyle?  "SET" has been the traditional way to adjust that since
the stone age.

It seems to me there is not a lot of distance between what I originally
suggested (transmit values of interesting variables at connection start)
and what we're talking about here (transmit values of interesting
variables at connection start and then again if they change).  I'm more
than willing to do the small amount of additional work needed, if it
makes interface libraries' job easier.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: A bad behavior under autocommit off mode
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] GiST: Need ideas on how to minimise data in a GiST index