Re: creating a dumpfile from a view

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Taras Kopets <tkopets(at)gmail(dot)com>
Cc: Richard Yen <dba(at)richyen(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: creating a dumpfile from a view
Date: 2006-10-31 03:37:42
Message-ID: 20061031033742.GA13279@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Oct 31, 2006 at 02:38:27AM +0200, Taras Kopets wrote:
> Richard Yen wrote:
>
> >Would anyone know how to dump the data from the view?
>
> You should check COPY command in the manual:
> http://www.postgresql.org/docs/current/static/sql-copy.html to save all your
> data.
> But you have to use tables with copy, not views.

That'll change in 8.2. Here's an item from the Release Notes:

* COPY TO can copy the output of an arbitrary SELECT statement

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma Jr 2006-10-31 03:38:48 Re: Bad performance in bulky updates
Previous Message Richard Broersma Jr 2006-10-31 03:35:14 Re: postgresql books and convertion utilities