From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Alfonso Peniche <alfonso(at)iteso(dot)mx> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] Re: temp table creation |
Date: | 2001-03-20 16:47:41 |
Message-ID: | 200103201647.LAA00999@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-general |
> Yes Bruce, IT IS In the new documentation (7.1 release), but not in previous
> versions. If you want me to be specific, it's in the reference manual under
> SQL Commands - CREATE TABLE AS.....
>
> Cheers
Great. Seemed like a nifty trick to get around a parser problem.
>
> Bruce Momjian wrote:
>
> > 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
>
>
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-03-20 17:14:22 | Re: Re: [GENERAL] Re: temp table creation |
Previous Message | Bruce Momjian | 2001-03-20 16:38:15 | Re: Re: src/test/regress/README duplicates SGML material |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-03-20 17:14:22 | Re: Re: [GENERAL] Re: temp table creation |
Previous Message | Brent R. Matzelle | 2001-03-20 16:39:48 | RE: Win Nt setup help please |