Re: [despammed] session-wide autocommit off

From: Andreas Kretschmer <akretschmer(at)despammed(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: [despammed] session-wide autocommit off
Date: 2004-11-30 09:03:12
Message-ID: 20041130090312.GA29117@Pinguin.wug-glas.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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 ===

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2004-11-30 09:25:18 Re: grouping a many to many relation set
Previous Message Christoph Haller 2004-11-30 08:40:21 session-wide autocommit off