Skip site navigation (1) Skip section navigation (2)

Re: [GENERAL] Re: temp table creation

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alfonso Peniche <alfonso(at)iteso(dot)mx>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: [GENERAL] Re: temp table creation
Date: 2001-03-20 00:17:36
Message-ID: 200103200017.TAA13524@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-docspgsql-general
This should be in the docs somewhere.  Is it?


> Alfonso Peniche <alfonso(at)iteso(dot)mx> writes:
> > In that case, how could I create a temporary table from plpgsql?
> 
> CREATE [TEMP] TABLE foo AS SELECT ...
> 
> This is equivalent to SELECT INTO [TEMP] foo in regular SQL, and
> does not change meaning in plpgsql.
> 
> 			regards, tom lane
> 


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

pgsql-docs by date

Next:From: Thomas LockhartDate: 2001-03-20 05:58:34
Subject: Re: src/test/regress/README duplicates SGML material
Previous:From: Peter EisentrautDate: 2001-03-19 23:13:36
Subject: Re: [HACKERS] src/test/regress/README duplicates SGML material

pgsql-general by date

Next:From: Hiroshi InoueDate: 2001-03-20 00:23:02
Subject: RE: concurrent updates problem
Previous:From: Jeff EckermannDate: 2001-03-19 23:44:02
Subject: Strange Type Mismatch on Insert

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group