Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group