Re: COPY view - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: COPY view
Date
Msg-id 200608220349.k7M3nNw14799@momjian.us
Whole thread Raw
In response to COPY view  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-patches
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

---------------------------------------------------------------------------


Karel Zak wrote:
>
>  Hi,
>
> attached is a patch that implements "COPY view TO" feature.
>
>     Karel
>
> Example:
>
> test=# CREATE VIEW vvv AS SELECT a.id, a.data AS d1, b.data AS d2 FROM
> tab a, tab2 b WHERE a.id=b.fk;
> CREATE VIEW
> test=# COPY vvv TO '/tmp/test';
> COPY
> test=# \! cat /tmp/test
> 1       aaa     AAA
> 2       bbb     BBB
> 3       ccc     CCC
> 4       ddd     DDD
>
>
> --
> Karel Zak <zakkr@zf.jcu.cz>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: COPY view
Next
From: Tom Lane
Date:
Subject: Re: COPY view