X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 47A2A3A50E1 for ; Tue, 30 Nov 2004 09:03:31 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 18336-06 for ; Tue, 30 Nov 2004 09:03:23 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by svr1.postgresql.org (Postfix) with ESMTP id C445F3A4426 for ; Tue, 30 Nov 2004 09:03:22 +0000 (GMT) Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CZ3uq-00007R-00 for pgsql-sql@postgresql.org; Tue, 30 Nov 2004 10:03:20 +0100 Received: from [194.25.154.138] (helo=pinguin.schollglas.com) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CZ3up-0003Tk-00 for pgsql-sql@postgresql.org; Tue, 30 Nov 2004 10:03:19 +0100 Received: from kretschmer by pinguin.schollglas.com with local (Exim 3.33 #6) id 1CZ3ui-0007a9-00 for pgsql-sql@postgresql.org; Tue, 30 Nov 2004 10:03:12 +0100 Date: Tue, 30 Nov 2004 10:03:12 +0100 From: Andreas Kretschmer To: pgsql-sql@postgresql.org Subject: Re: [despammed] session-wide autocommit off Message-ID: <20041130090312.GA29117@Pinguin.wug-glas.de> References: <41AC31F5.CE3589FB@rodos.fzk.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41AC31F5.CE3589FB@rodos.fzk.de> User-Agent: Mutt/1.4i X-DEST: 208 X-MSMail-Priority: High X-MSMail-Virus: X5O!P%@AP[4PZX54(P^)7CC)7}-STANDARD-ANTIVIRUS-TEST-FILE!+H* X-Message-Flag: My name is root. Just root. And I am licensed to kill -9 X-PrivatMail: kretschmer@kaufbach.delug.de X-OS: Linux - weil ich es mir Wert bin! X-Info: registrierter Linux-User 97922 http://counter.li.org X-LUG: http://lug-dd.schlittermann.de X-Handy: 0160 / 8256486 (privat) X-Fax: 035204 / 40505 (privat) X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:51ea9561fc3f6d9539a2acd743e4748c X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.5 tagged_above=0.0 required=5.0 tests=MISSING_MIMEOLE, PRIORITY_NO_NAME, X_MSMAIL_PRIORITY_HIGH X-Spam-Level: ** X-Archive-Number: 200411/298 X-Sequence-Number: 19616 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 ===