Re: Cant find temp tables

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <sconeek(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Cant find temp tables
Date: 2006-04-05 08:05:01
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C9A2C@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of
> sconeek(at)gmail(dot)com
> Sent: 03 April 2006 01:21
> To: pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] Cant find temp tables
>
> could be. i will have a look at the pgadmin site and see if i
> can find anything. but the pgadmin guys couldnt have missed
> this problem, seems to be pretty important functionality. thanks.

Hi, pgAdmin guy here!

There are a couple of issues to consider when trying to use temp tables
in pgAdmin:

1) They live in pg_temp_NN schemas, which by default are hidden. Turn on
Display -> System Objects to see them.

2) pgAdmin uses a separate connection for query tool windows. Because
temp tables exist only for the life of the session, if you close the
query tool (or whatever other session you created the table in), all the
pg_class/pg_attribute rows will be removed so pgAdmin won't see them no
matter how much you refresh the tree.

Regards, Dave.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Clive Page 2006-04-05 08:59:22 Column descriptions - could they be propagated to new tables?
Previous Message Chris Velevitch 2006-04-05 07:37:28 pg_dump and copy command