X-Original-To: pgsql-interfaces-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 3A2B99FB2DB for ; Mon, 21 Aug 2006 20:11:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 99682-09 for ; Mon, 21 Aug 2006 23:11:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id BA9659FA48B for ; Mon, 21 Aug 2006 20:11:39 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.176]) by svr4.postgresql.org (Postfix) with ESMTP id BC48F5AF896 for ; Mon, 21 Aug 2006 23:11:38 +0000 (GMT) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout06/MantshX 4.0) with ESMTP id k7LNBboa002378 for ; Mon, 21 Aug 2006 16:11:37 -0700 (PDT) Received: from [192.168.24.30] (pd954e9ed.dip0.t-ipconnect.de [217.84.233.237]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id k7LNBYM0027818 for ; Mon, 21 Aug 2006 16:11:35 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: pgsql-interfaces@postgresql.org From: osxdeveloper@mac.com Subject: Transactions and libpq Date: Tue, 22 Aug 2006 01:11:33 +0200 X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAQAAA+k= X-Language-Identified: TRUE X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.961 tagged_above=0 required=5 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200608/22 X-Sequence-Number: 6236 Hi! I am writing an application using the libqpsql client lib. What I like to do now, is to control transaction behavior from within my application. But the following happens: When I try to open a transaction libpg prints "WARNING: there is already a transaction in progress" to stdout. The question for me is - why?? I searched Google and found some confusing things about serverside auto-commit - but this is removed at last in Postgres 8.0. Can somebody lighten my about the reason for this problem? Thanks for any help! Regards, Ralf Hasemann