Re: Cant find temp tables - Mailing list pgsql-general

From Dave Page
Subject Re: Cant find temp tables
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C9A2C@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Cant find temp tables  (sconeek@gmail.com)
Responses Re: Cant find temp tables  (Mike Adams <madams55075@comcast.net>)
List pgsql-general

> -----Original Message-----
> From: pgsql-general-owner@postgresql.org
> [mailto:pgsql-general-owner@postgresql.org] On Behalf Of
> sconeek@gmail.com
> Sent: 03 April 2006 01:21
> To: pgsql-general@postgresql.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.

pgsql-general by date:

Previous
From: "Chris Velevitch"
Date:
Subject: pg_dump and copy command
Next
From: Clive Page
Date:
Subject: Column descriptions - could they be propagated to new tables?