X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C48C39DC940 for ; Mon, 20 Mar 2006 08:06:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 61899-03 for ; Mon, 20 Mar 2006 08:06:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id A15E59DC888 for ; Mon, 20 Mar 2006 08:06:40 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id BD54630CBA; Mon, 20 Mar 2006 13:06:43 +0100 (MET) From: "Qingqing Zhou" X-Newsgroups: pgsql.performance Subject: Re: data doesnt get saved in the database / idle in transaction Date: Mon, 20 Mar 2006 20:03:14 +0800 Organization: Hub.Org Networking Services Lines: 17 Message-ID: References: <130df1930603200246j4bd6c6a1r7204a644795ef412@mail.gmail.com> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.171 required=5 tests=[AWL=0.171] X-Spam-Score: 0.171 X-Spam-Level: X-Archive-Number: 200603/327 X-Sequence-Number: 17764 ""Ksenia Marasanova"" wrote > > The application uses persistant database connection, and when i check > the status of the connection, it shows: "idle in transaction". I am > pretty sure that every insert is being committed with explicit > "commit()" . It always worked before.... weird. > Try to use the following command to see what commands reach the server: set log_statement = "all"; Regards, Qingqing