Re: problem with new autocommit config parameter and jdbc

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Barry Lind <barry(at)xythos(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: problem with new autocommit config parameter and jdbc
Date: 2002-09-07 00:55:17
Message-ID: 200209070055.g870tHa28499@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Steve Howe 2002-09-07 01:30:12 Re: Rule updates and PQcmdstatus() issue
Previous Message Bruce Momjian 2002-09-07 00:52:18 Re: Rule updates and PQcmdstatus() issue

Browse pgsql-jdbc by date

  From Date Subject
Next Message snpe 2002-09-07 12:59:31 Re: [JDBC] problem with new autocommit config parameter and jdbc
Previous Message Barry Lind 2002-09-06 23:30:36 Re: compile of jdbc driver failed - jdk 1.4.0_01