Re: Postgres config file: autocommit = off - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Postgres config file: autocommit = off
Date
Msg-id 10068.1054578343@sss.pgh.pa.us
Whole thread Raw
In response to Re: Postgres config file: autocommit = off  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Postgres config file: autocommit = off
Re: Postgres config file: autocommit = off
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> SET autocommit to 'off' is going away in 7.4 so the SET USER command
> will not work anymore in that release, and I can't think of a
> workaround.  There will be interface-specific settings, I assume, but I
> am not sure how that would be controlled per-user.

As I was just telling some Red Hat cohorts, I intend to provide
autocommit support in psql for 7.4 --- probably controlled by a psql
variable, though I've not gotten round to designing the details yet.
In any case it will be possible to turn autocommit off in your ~/.psqlrc
file if you have the desire to do so.  I would also say that the setting
will not apply to psql -c invocations, thus avoiding the worst effects
for scripts ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problems with renaming a column
Next
From: Bruce Momjian
Date:
Subject: Re: Postgres config file: autocommit = off