pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Dengler, Michael <Michael_Dengler@tvworks.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Autocommit in libpq
Date: Tue, 13 Mar 2007 15:15:28 +0000
Message-ID: <45F6C010.3000207@enterprisedb.com> (raw)
In-Reply-To: <03C8E1672F290B44B20D46DB98ED36220588E19C@tvpmail.ad.liberate.com>
References: <03C8E1672F290B44B20D46DB98ED36220588E19C@tvpmail.ad.liberate.com>

Dengler, Michael wrote:
> Please forgive me if I missed something (I have been searching for a definitive answer for this for 2 days).
> 
> Is there any way to disable autocommit in libpq? (PG 7.4.1)

Just call BEGIN to start a transaction, and COMMIT to commit it. Other 
than that, no.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com



view thread (5+ messages)  latest in thread

Message-ID: <45F6C010.3000207@enterprisedb.com>
Permalink:  ../45F6C010.3000207@enterprisedb.com/
Also on:    postgresql.org/message-id/45F6C010.3000207@enterprisedb.com

 · 

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: heikki@enterprisedb.com, Michael_Dengler@tvworks.com
  Subject: Re: Autocommit in libpq
  In-Reply-To: <45F6C010.3000207@enterprisedb.com>

* 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