Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id BEA379FB9BF for ; Tue, 13 Mar 2007 12:29:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 12739-05-5 for ; Tue, 13 Mar 2007 12:29:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 249979FBA87 for ; Tue, 13 Mar 2007 12:28:12 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l2DFS9Uq024712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Mar 2007 08:28:10 -0700 Message-ID: <45F6C33C.2090307@commandprompt.com> Date: Tue, 13 Mar 2007 08:29:00 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: Heikki Linnakangas CC: "Dengler, Michael" , pgsql-performance@postgresql.org Subject: Re: Autocommit in libpq References: <03C8E1672F290B44B20D46DB98ED36220588E19C@tvpmail.ad.liberate.com> <45F6C010.3000207@enterprisedb.com> In-Reply-To: <45F6C010.3000207@enterprisedb.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Tue, 13 Mar 2007 08:28:10 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/229 X-Sequence-Number: 23634 Heikki Linnakangas wrote: > Dengler, Michael wrote: >> Please forgive me if I missed something (I have been searching for a >> definitive answer for this for 2 days). >> >> Is there any way to disable autocommit in libpq? (PG 7.4.1) > > Just call BEGIN to start a transaction, and COMMIT to commit it. Other > than that, no. > And very on topic, you need to upgrade ASAP to the latest 7.4.x. Joshua D. Drake -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate PostgreSQL Replication: http://www.commandprompt.com/products/