pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Hasnul Fadhly bin Hasan <hasnulfadhly.h@mimos.my>
Cc: pgsql-performance@postgresql.org
Subject: Re: Autocommit
Date: Mon, 14 Feb 2005 02:34:03 -0700
Message-ID: <20050214093403.GA4629@winnie.fuhr.org> (raw)
In-Reply-To: <42106837.3020103@mimos.my>
References: <42105AD0.2010803@mimos.my>
	<20050214084703.GA4038@winnie.fuhr.org>
	<42106837.3020103@mimos.my>

On Mon, Feb 14, 2005 at 04:58:31PM +0800, Hasnul Fadhly bin Hasan wrote:

> Thanks for the reply.  I am using postgres 7.4.5 client.  There's one 
> that is using 7.4.1 client.  I'm not sure if there would be any difference.
> When i use psql and check the status of autocommit, it is set to 
> enable.  I'm not sure if libpq and psql uses the same defaults.

As far as I can tell, libpq doesn't have an autocommit setting --
it just sends statements on behalf of the application.  Clients
that allow the user to disable autocommit presumably do so by
implicitly sending BEGIN statements to start new transactions.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (4+ messages)

Message-ID: <20050214093403.GA4629@winnie.fuhr.org>
Permalink:  ../20050214093403.GA4629@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050214093403.GA4629@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mike@fuhr.org, hasnulfadhly.h@mimos.my
  Subject: Re: Autocommit
  In-Reply-To: <20050214093403.GA4629@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox