Received: from localhost (uranus.hub.org [200.46.204.60]) by postgresql.org (Postfix) with ESMTP id 359F79FA1FD for ; Mon, 20 Nov 2006 12:15:57 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.60]) (amavisd-new, port 10024) with ESMTP id 97399-03 for ; Mon, 20 Nov 2006 12:15:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail01.enterprisedb.com (mail01.enterprisedb.com [63.246.7.168]) by postgresql.org (Postfix) with ESMTP id B820D9FA111 for ; Mon, 20 Nov 2006 12:15:50 -0400 (AST) thread-index: AccMvySi8Rb9Snj+R+ymXUh1Fgyjmw== Received: from [192.168.0.22] ([62.232.55.118]) by mail01.enterprisedb.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Mon, 20 Nov 2006 11:15:47 -0500 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757 Content-class: urn:content-classes:message Importance: normal Message-ID: <4561D4AA.6090705@enterprisedb.com> Date: Mon, 20 Nov 2006 16:15:38 +0000 From: "Heikki Linnakangas" User-Agent: Thunderbird 1.5.0.7 (X11/20060927) MIME-Version: 1.0 To: "Pablo Araujo" Cc: "Dave Cramer" , Subject: Re: exception with a temporary table References: <45619FFA.6080200@enterprisedb.com> In-Reply-To: Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Nov 2006 16:15:47.0734 (UTC) FILETIME=[2381BB60:01C70CBF] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/102 X-Sequence-Number: 16144 Pablo Araujo wrote: > I think that the problem is in "on commit drop", because i excecute this > statment in the query browse of pgAdmin III and happens the same, What I > must modify? Yep. I don't know where the create table statement is coming from; Hibernate, AndroMDA or your application code, but apparently it needs to be changed to "on commit delete rows". Or maybe you're supposed to be running the statements as a single transaction, but you're not? -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com