pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <akretschmer@despammed.com>
To: pgsql-sql@postgresql.org
Subject: Re: [despammed] session-wide autocommit off
Date: Tue, 30 Nov 2004 10:03:12 +0100
Message-ID: <20041130090312.GA29117@Pinguin.wug-glas.de> (raw)
In-Reply-To: <41AC31F5.CE3589FB@rodos.fzk.de>
References: <41AC31F5.CE3589FB@rodos.fzk.de>

am  30.11.2004, um  9:40:21 +0100 mailte Christoph Haller folgendes:
> 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

For psql i have a /etc/psqlrc:

\unset AUTOCOMMIT
\set AUTOCOMMIT FALSE
begin;

But this works only one transaction.



regards, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
               Tel. NL Heynitz:  035242/47212
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 



view thread (4+ messages)  latest in thread

Message-ID: <20041130090312.GA29117@Pinguin.wug-glas.de>
Permalink:  ../20041130090312.GA29117@Pinguin.wug-glas.de/
Also on:    postgresql.org/message-id/20041130090312.GA29117@Pinguin.wug-glas.de

 · 

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: akretschmer@despammed.com
  Subject: Re: [despammed] session-wide autocommit off
  In-Reply-To: <20041130090312.GA29117@Pinguin.wug-glas.de>

* 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