Re: feature proposal ... - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: feature proposal ...
Date
Msg-id 1127310360.94955.31.camel@home
Whole thread Raw
In response to feature proposal ...  (Hans-Jürgen Schönig <postgres@cybertec.at>)
Responses Re: feature proposal ...
List pgsql-hackers
> the problem is: COPY can write data returned by a SELECT statement to a 
> file. our idea is to implement precisely that.
> 
> example:
> 
> COPY TO file_name USING some_select_statement;

I have run into plenty of cases where I wanted to dump part of a
structure and this could be used for that, but I've always found that
temporary tables were sufficient and equally SQL scriptable
       CREATE TEMP TABLE tab AS SELECT ...; COPY tab TO file_name;
-- 



pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: passing parameters to CREATE INDEX
Next
From: Hans-Jürgen Schönig
Date:
Subject: Re: feature proposal ...