COPY view

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: List pgsql-patches <pgsql-patches(at)postgreSQL(dot)org>
Cc: Hans-Jurgen Schonig <hs(at)cybertec(dot)at>
Subject: COPY view
Date: 2005-09-29 09:48:12
Message-ID: 1127987292.26535.29.camel@petra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


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(at)zf(dot)jcu(dot)cz>

Attachment Content-Type Size
pgsql-copyview-29092005.patch.gz application/x-gzip 4.2 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-09-29 14:26:43 Re: [PATCHES] Proposed patch for sequence-renaming problems
Previous Message David Fetter 2005-09-29 08:59:35 Re: SQL/XML publishing function experimental patch II