Re: [Fwd: Re: [JDBC] Patch for handling "autocommit=false"

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

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Barry Lind <barry@xythos.com>
Cc: pgsql-hackers@postgresql.org
Date: 2002-10-11T05:17:02Z
Lists: 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, Pennsylvania 19073