pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Schmitz <a.schmitz@cityweb.de>
To: pgsql-admin@postgresql.org
Subject: Using temp tables
Date: Fri, 18 Jul 2003 10:23:36 +0200
Message-ID: <200307181023.36374.a.schmitz@cityweb.de> (raw)


Hello *,

we started the use of temporary tables for evaluating data.

create temp table xxx ....

<evaluationcode>

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




view thread (2+ messages)  latest in thread

Message-ID: <200307181023.36374.a.schmitz@cityweb.de>
Permalink:  ../200307181023.36374.a.schmitz@cityweb.de/
Also on:    postgresql.org/message-id/200307181023.36374.a.schmitz@cityweb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: a.schmitz@cityweb.de
  Subject: Re: Using temp tables
  In-Reply-To: <200307181023.36374.a.schmitz@cityweb.de>
  References: <200307181023.36374.a.schmitz@cityweb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox