Re: COPY (query) TO file

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Mark Woodward <pgsql(at)mohawksoft(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: COPY (query) TO file
Date: 2006-06-02 16:28:53
Message-ID: 20060602162852.GF27317@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Neil Conway wrote:
> On Fri, 2006-06-02 at 09:56 -0400, Andrew Dunstan wrote:
> > Allow COPY to output from views
>
> FYI, there is a patch for this floating around -- I believe it was
> posted to -patches a few months back.

I have it. The pieces of it than I can use to implement the idea below,
I'll try to rescue. I don't think it's that much though.

> > Another idea would be to allow actual SELECT statements in a COPY.
> >
> > Personally I strongly favor the second option as being more flexible
> > than the first.
>
> +1.

Sounds like a plan.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2006-06-02 17:08:13 Re: More thoughts about planner's cost estimates
Previous Message Neil Conway 2006-06-02 16:22:46 Re: COPY (query) TO file