Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5CE34632769 for ; Mon, 12 Jul 2010 07:55:06 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 35945-09 for ; Mon, 12 Jul 2010 10:54:58 +0000 (UTC) X-Greylist: delayed 00:05:36.918837 by SQLgrey-1.7.6 Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mail.postgresql.org (Postfix) with ESMTP id 05F806324A7 for ; Mon, 12 Jul 2010 07:54:58 -0300 (ADT) Received: by wwb31 with SMTP id 31so48053wwb.19 for ; Mon, 12 Jul 2010 03:54:57 -0700 (PDT) Received: by 10.227.156.11 with SMTP id u11mr8652538wbw.146.1278931759889; Mon, 12 Jul 2010 03:49:19 -0700 (PDT) Received: from [192.168.0.69] (43.Red-80-25-203.staticIP.rima-tde.net [80.25.203.43]) by mx.google.com with ESMTPS id a27sm30104706wbe.6.2010.07.12.03.49.18 (version=SSLv3 cipher=RC4-MD5); Mon, 12 Jul 2010 03:49:19 -0700 (PDT) Message-ID: <4C3AF329.30200@slash-solutions.com> Date: Mon, 12 Jul 2010 12:49:13 +0200 From: Xavier Santana User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; es-ES; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Commit gets locked until vacuum is performed Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201007/37 X-Sequence-Number: 20702 Hi all, I'm using JDBC driver 8.1-413.jdbc3 to access a PostgreSQL 8.1.3 database on windows. Sometimes, when my application performs a commit of a transaction with maybe 100 or 200 inserts, the operation gets locked, with no error message or exception. When that happens, if I perform a vacuum over the database (for example from pgAdmin), the operation unlocks and the commit finishes correctly. Any idea of what can be happening? Thanks in advance. Xavier