X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 66E17D1EB66 for ; Fri, 2 Apr 2004 15:33:39 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 59839-10 for ; Fri, 2 Apr 2004 11:33:41 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id B8DE2D1EB14 for ; Fri, 2 Apr 2004 11:33:36 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i32FXexS027775; Fri, 2 Apr 2004 10:33:41 -0500 (EST) To: Christoph Haller Cc: pgsql-interfaces@postgresql.org Subject: Re: BEGIN-cascade blocks application In-reply-to: <200404021032.MAA07447@rodos> References: <200404021032.MAA07447@rodos> Comments: In-reply-to Christoph Haller message dated "Fri, 02 Apr 2004 12:32:04 +0700" Date: Fri, 02 Apr 2004 10:33:40 -0500 Message-ID: <27774.1080920020@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/3 X-Sequence-Number: 4824 Christoph Haller writes: > I've turned on statement logging to find out > about the last one being processed. It was > BEGIN; > WARNING: BEGIN: already a transaction in progress > It was the last of a cascade of duplicate BEGINs, > and the only reason I could see for the application being blocked > was this cascade. I don't think so. An extra BEGIN is a complete no-op except for issuing that warning message. > I eliminated those duplicates and now the > application runs without any stops. You fixed a bug in your application logic, then. Or maybe the bug is still there but happened not to be triggered in your second test. Just to check, I fired 100000 consecutive "BEGIN;"s at PG 7.3.6 on HPUX 10.20, and didn't see any particular hiccup... and no, I don't think this was affected by any bugfixes between 7.3.4 and 7.3.6 ... regards, tom lane