X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E5DE6552D6 for ; Tue, 22 Mar 2005 20:23:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 65558-09 for ; Tue, 22 Mar 2005 20:23:16 +0000 (GMT) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by svr1.postgresql.org (Postfix) with ESMTP id 075F156711 for ; Tue, 22 Mar 2005 20:23:15 +0000 (GMT) Received: from [192.168.1.100] ([24.202.23.128]) by VL-MO-MR007.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0IDR0038HSMSQP@VL-MO-MR007.ip.videotron.ca> for pgsql-jdbc@postgresql.org; Tue, 22 Mar 2005 15:23:16 -0500 (EST) Date: Tue, 22 Mar 2005 15:26:31 -0500 From: David Gagnon Subject: Re: Is that normal I can't commit a transaction when using In-reply-to: <11227.1111519696@sss.pgh.pa.us> To: Tom Lane Cc: pgsql-jdbc@postgresql.org Message-id: <42407F77.70209@siunik.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) References: <4237FC9B.4000709@cibal.es> <4238173D.60307@opencloud.com> <4239A678.10204@cibal.es> <42406D17.60104@siunik.com> <11227.1111519696@sss.pgh.pa.us> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.021 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/180 X-Sequence-Number: 12572 Yes and I am running 7.4.5 so I will update for the fix. Thanks! /David Tom Lane wrote: >David Gagnon writes: > > >>CREATE TEMP TABLE T_AUX ( >>... >>) ON COMMIT DROP''; >> >> > > > >>WARN [http8080-Processor4] (DbConnection.java:218) 2005-03-22 >>13:51:55,359 : DB: Error commiting Transaction: ERROR: relation 6013057 >>is still open >> >> > >Is this temp table used in your cursor? If so this is a recently-fixed >server bug ("recent" = 7.4.7 and later, I think). It was trying to drop >ON COMMIT DROP tables before closing cursors... > > regards, tom lane > > >