Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id AC56C9FA111 for ; Mon, 20 Nov 2006 08:31:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 46366-07 for ; Mon, 20 Nov 2006 12:30:57 +0000 (UTC) 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 A81E79F9EED for ; Mon, 20 Nov 2006 08:30:56 -0400 (AST) thread-index: AccMn7ssqi7ofkbyRLSAcXG5eqxvTQ== 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 07:30:57 -0500 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757 Content-class: urn:content-classes:message Importance: normal Message-ID: <45619FFA.6080200@enterprisedb.com> Date: Mon, 20 Nov 2006 12:30:50 +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: In-Reply-To: Content-Type: text/plain; format=flowed; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Nov 2006 12:30:57.0750 (UTC) FILETIME=[BAD98760:01C70C9F] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/100 X-Sequence-Number: 16142 Pablo Araujo wrote: > ok, but this assumes that being created everything in the same session. > > that is to say, it creates it, it inserts data and it destroys it in the > same session. Can you get a trace of the SQL commands sent to the server? One way to get that is to set the log_statement configuration parameter in your postgresql.conf file to "all". That would help diagnosing the problem. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com