Re: problem with new autocommit config parameter and jdbc

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Barry Lind <barry@xythos.com>
Cc: "pgsql-jdbc@postgresql.org" <pgsql-jdbc@postgresql.org>, pgsql-hackers@postgresql.org
Date: 2002-09-07T00:55:17Z
Lists: 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