pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Christoph Haller <ch@rodos.fzk.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: session-wide autocommit off
Date: Tue, 30 Nov 2004 09:26:02 +0000
Message-ID: <41AC3CAA.2040201@archonet.com> (raw)
In-Reply-To: <41AC31F5.CE3589FB@rodos.fzk.de>
References: <41AC31F5.CE3589FB@rodos.fzk.de>

Christoph Haller wrote:
> Looks like I asked the wrong question the other day.
> How can I achieve a session-wide autocommit off?
> As it is possible inside a psql session via
> \unset AUTOCOMMIT
> I am using the libpq interface.

Just BEGIN a transaction after connection? Or am I missing something here?

-- 
   Richard Huxton
   Archonet Ltd



view thread (4+ messages)  latest in thread

Message-ID: <41AC3CAA.2040201@archonet.com>
Permalink:  ../41AC3CAA.2040201@archonet.com/
Also on:    postgresql.org/message-id/41AC3CAA.2040201@archonet.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-sql@postgresql.org
  Cc: dev@archonet.com, ch@rodos.fzk.de
  Subject: Re: session-wide autocommit off
  In-Reply-To: <41AC3CAA.2040201@archonet.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