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 33BD83A50FA for ; Tue, 30 Nov 2004 09:26:46 +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 28219-05 for ; Tue, 30 Nov 2004 09:26:36 +0000 (GMT) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by svr1.postgresql.org (Postfix) with ESMTP id ED3973A45AB for ; Tue, 30 Nov 2004 09:26:35 +0000 (GMT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-32.mail.demon.net with esmtp (Exim 4.42) id 1CZ4H3-000DWK-9Y; Tue, 30 Nov 2004 09:26:20 +0000 Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 5D5C415F04; Tue, 30 Nov 2004 09:26:02 +0000 (GMT) Message-ID: <41AC3CAA.2040201@archonet.com> Date: Tue, 30 Nov 2004 09:26:02 +0000 From: Richard Huxton User-Agent: Mozilla Thunderbird 0.9 (X11/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christoph Haller Cc: pgsql-sql@postgresql.org Subject: Re: session-wide autocommit off References: <41AC31F5.CE3589FB@rodos.fzk.de> In-Reply-To: <41AC31F5.CE3589FB@rodos.fzk.de> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/300 X-Sequence-Number: 19618 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