Re: SELECT INTO using Views? - Mailing list pgsql-general

From Merlin Moncure
Subject Re: SELECT INTO using Views?
Date
Msg-id b42b73150701081627l2b759bcdjb5cc8c5021816014@mail.gmail.com
Whole thread Raw
In response to SELECT INTO using Views?  ("Jeanna Geier" <jgeier@apt-cafm.com>)
Responses Re: SELECT INTO using Views?  ("Jeanna Geier" <jgeier@apt-cafm.com>)
List pgsql-general
On 1/9/07, Jeanna Geier <jgeier@apt-cafm.com> wrote:
> Hello List!
>
> I have a question regarding SELECT  INTO...
>
> Can it be used with Views?  I have a View that is populated (~35,000 rows)
> that I want to create a Table from the data in it....
>
> So, would I be able to copy the data from the View to the Table using the
> SELECT INTO command?

Administrator=# create temp view v as select 'postgresql r0x0r'::text;
CREATE VIEW
Administrator=# create temp table t as select * from v;
SELECT


merlin

pgsql-general by date:

Previous
From: "Joris Dobbelsteen"
Date:
Subject: Re: Autovacuum Improvements
Next
From: Matthew Terenzio
Date:
Subject: COPY FROM and sequences