Re: Possible Bug regarding temp tables (sql or psql?)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Mark Frazer <mark(at)somanetworks(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Possible Bug regarding temp tables (sql or psql?)
Date: 2002-07-05 02:09:27
Message-ID: 200207050209.g6529RT19334@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-sql

Christopher Kings-Lynne wrote:
> IIRC they are only visible in the connection that created them? Am I right?
> Either way, I don't think \d will show them - there might be another
> command...
>

TODO has:

* Allow psql \d to show temporary table structure

Looks like it works fine now with schemas:

test=> create temp table xx(x int);
CREATE TABLE
test=> \d
List of relations
Name | Type | Owner
------+-------+----------
x | table | postgres
xx | table | postgres
(2 rows)

I will mark the TODO as done.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2002-07-05 02:32:56 Re: Possible Bug regarding temp tables (sql or psql?)
Previous Message Christopher Kings-Lynne 2002-07-05 02:02:02 Re: Possible Bug regarding temp tables (sql or psql?)

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2002-07-05 02:32:56 Re: Possible Bug regarding temp tables (sql or psql?)
Previous Message Christopher Kings-Lynne 2002-07-05 02:02:02 Re: Possible Bug regarding temp tables (sql or psql?)