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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Mark Frazer <mark(at)somanetworks(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [SQL] Possible Bug regarding temp tables (sql or psql?)
Date: 2002-07-04 12:26:39
Message-ID: 200207041226.g64CQeA04330@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-sql

Mark Frazer wrote:
> Any idea why the table can't be seen with \d in psql then?

It is a known problem with temp tables. They aren't visible with \d
because they are invisible system tables that are removed on exit. I
think 7.3 will fix this.

>
> Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> [02/07/04 00:21]:
> >
> > No - they go away at the end of a _connection_. However, there is now a
> > patch floating around on -hackers that would add an ' ON COMMIT DROP;'
> > option to CREATE TEMP TABLE.
>
> --
> In the event of an emergency, my ass can be used as a flotation
> device. - Bender
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
>
>

--
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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Stavros Karposilos 2002-07-05 00:51:30 MS Access 2K Inform User on Record changes
Previous Message Mark Frazer 2002-07-04 11:23:18 Re: [SQL] Possible Bug regarding temp tables (sql or psql?)

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleus Mantzios 2002-07-04 13:17:25 Re: how to write procedures
Previous Message Mark Frazer 2002-07-04 11:23:18 Re: [SQL] Possible Bug regarding temp tables (sql or psql?)