pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Mark Frazer <mark@somanetworks.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [SQL] Possible Bug regarding temp tables (sql or psql?)
Date: Thu, 4 Jul 2002 08:26:39 -0400 (EDT)
Message-ID: <200207041226.g64CQeA04330@candle.pha.pa.us> (raw)
In-Reply-To: <20020704072318.A22194@somanetworks.com>

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@familyhealth.com.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@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





view thread (11+ messages)  latest in thread

Message-ID: <200207041226.g64CQeA04330@candle.pha.pa.us>
Permalink:  ../200207041226.g64CQeA04330@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200207041226.g64CQeA04330@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pgman@candle.pha.pa.us, mark@somanetworks.com, pgsql-sql@postgresql.org
  Subject: Re: [SQL] Possible Bug regarding temp tables (sql or psql?)
  In-Reply-To: <200207041226.g64CQeA04330@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox