Re: [Fwd: Re: [JDBC] Patch for handling "autocommit=false" - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [Fwd: Re: [JDBC] Patch for handling "autocommit=false"
Date
Msg-id 200210110517.g9B5H2w25526@candle.pha.pa.us
Whole thread Raw
In response to [Fwd: Re: [JDBC] Patch for handling "autocommit=false" in postgresql.conf]  (Barry Lind <barry@xythos.com>)
List pgsql-hackers
Barry Lind wrote:
> Did anything come of this discussion on whether SET initiates a 
> transaction or not?

SET does not start a multi-statement transaction when autocommit is off.

> In summary what is the right way to deal with setting autocommit in clients?

I guess just 'set autocommit to on' will do it.


--  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,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Barry Lind
Date:
Subject: [Fwd: Re: [JDBC] Patch for handling "autocommit=false" in postgresql.conf]
Next
From: Mario Weilguni
Date:
Subject: number of attributes in page files?