Re: problem with new autocommit config parameter and jdbc - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: problem with new autocommit config parameter and jdbc
Date
Msg-id 200209070055.g870tHa28499@candle.pha.pa.us
Whole thread Raw
In response to problem with new autocommit config parameter and jdbc  (Barry Lind <barry@xythos.com>)
Responses Re: [JDBC] problem with new autocommit config parameter and jdbc
Re: problem with new autocommit config parameter and jdbc
List pgsql-hackers
Barry Lind wrote:
> Haris,
>
> You can't use jdbc (and probably most other postgres clients) with
> autocommit in postgresql.conf turned off.
>
> Hackers,
>
> How should client interfaces handle this new autocommit feature?  Is it
> best to just issue a set at the beginning of the connection to ensure
> that it is always on?

Yes, I thought that was the best fix for apps that can't deal with
autocommit being off.

--
  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, Pennsylvania 19073

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Rule updates and PQcmdstatus() issue
Next
From: Steve Howe
Date:
Subject: Re: Rule updates and PQcmdstatus() issue