X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.225.181]) by svr1.postgresql.org (Postfix) with ESMTP id 523E9CCC32 for ; Fri, 18 Jul 2003 08:43:23 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr5.postgresql.org [64.117.225.181]) (amavisd-new, port 10024) with ESMTP id 34342-08 for ; Fri, 18 Jul 2003 08:43:41 +0000 (GMT) Received: from linux012.intern.cityweb.de (linux012.intern.cityweb.de [195.71.215.252]) by svr1.postgresql.org (Postfix) with ESMTP id 4C905CCC17 for ; Fri, 18 Jul 2003 05:43:10 -0300 (ADT) Received: from zahedi.intern.cityweb.de (zahedi.intern.cityweb.de [193.189.226.198]) by linux012.intern.cityweb.de (8.12.8/8.12.8) with ESMTP id h6I8he7b006668 for ; Fri, 18 Jul 2003 10:43:41 +0200 Content-Type: text/plain; charset="us-ascii" From: Andreas Schmitz Reply-To: a.schmitz@cityweb.de Organization: Cityweb Network To: pgsql-admin@postgresql.org Subject: Using temp tables Date: Fri, 18 Jul 2003 10:23:36 +0200 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200307181023.36374.a.schmitz@cityweb.de> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/163 X-Sequence-Number: 9503 Hello *, we started the use of temporary tables for evaluating data. create temp table xxx .... drop temp table xxx; We encountered some strange errors about relation exists or even does not exist from server and application site. I started to look after orphan temp tables. No orphans were left but I found namespace entries in pg_namespace. select * from pg_namespace; nspname | nspowner | nspacl ------------+----------+-------- pg_catalog | 1 | {=U} pg_toast | 1 | {=} public | 1 | {=UC} pg_temp_1 | 1 | pg_temp_8 | 1 | pg_temp_11 | 1 | pg_temp_10 | 1 | pg_temp_6 | 1 | pg_temp_4 | 1 | pg_temp_3 | 1 | pg_temp_14 | 1 | pg_temp_2 | 1 | pg_temp_5 | 1 | pg_temp_12 | 1 | (14 rows) I did a vacuum full and analyze but this pg_temp namespaces are still there. Any ideas about that phenomena ? best regards -Andreas Schmitz -- Andreas Schmitz - Phone +49 201 8501 318 Cityweb-Technik-Service-Gesellschaft mbH Friedrichstr. 12 - Fax +49 201 8501 104 45128 Essen - email a.schmitz@cityweb.de