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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-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

Browse pgsql-docs by date

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

Browse pgsql-general by date

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