Thanks to visit codestin.com
Credit goes to postgrespro.com

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 [email protected]
Whole thread Raw
In response to [Fwd: Re: [JDBC] Patch for handling "autocommit=false" in postgresql.conf]  (Barry Lind <[email protected]>)
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 [email protected]               |  (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?