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

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

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> [02/07/04 22:10]:
>
> TODO has:
>
> * Allow psql \d to show temporary table structure
>
> Looks like it works fine now with schemas:
>
> I will mark the TODO as done.

It doesn't work with select into though:

config=> select 5 into temp v_tmp ;
SELECT
config=> \d v_tmp
Did not find any relation named "v_tmp".
config=> select 4 into temp v_tmp ;
ERROR: Relation 'v_tmp' already exists
config=> select version() ;
version
-------------------------------------------------------------
PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC 2.96

--
I heard one time you single-handedly defeated a hoard of rampaging somethings
in the something something system. - Fry

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Leland F. Jackson, CPA 2002-07-05 16:10:40 Re: [INTERFACES] MS Access 2K Inform User on Record changes
Previous Message Bruce Momjian 2002-07-05 02:39:30 Re: Possible Bug regarding temp tables (sql or psql?)

Browse pgsql-sql by date

  From Date Subject
Next Message Stephane Schildknecht 2002-07-05 13:38:43 Re: Boolean to int
Previous Message Manfred Koizar 2002-07-05 12:40:10 Re: sql statement how to do ?