Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 11784475E64; Thu, 4 Jul 2002 09:06:58 -0400 (EDT) Mailbox-Line: From pgman@candle.pha.pa.us Thu Jul 4 09:06:58 2002 Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 42D4947675C; Thu, 4 Jul 2002 08:26:39 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g64CQeA04330; Thu, 4 Jul 2002 08:26:40 -0400 (EDT) From: Bruce Momjian Message-Id: <200207041226.g64CQeA04330@candle.pha.pa.us> Subject: Re: [SQL] Possible Bug regarding temp tables (sql or psql?) In-Reply-To: <20020704072318.A22194@somanetworks.com> To: Mark Frazer Date: Thu, 4 Jul 2002 08:26:39 -0400 (EDT) Cc: pgsql-sql@postgresql.org, pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-3.4 required=5.0 tests=IN_REP_TO version=2.30 X-Spam-Level: X-Archive-Number: 200207/13 X-Sequence-Number: 2822 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 [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@postgresql.org so that your > message can get through to the mailing list cleanly > > > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026