Re: feature proposal ...

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hans-Jürgen Schönig <postgres@cybertec.at>
Cc: pgsql-hackers@postgresql.org, eg@cybertec.at
Date: 2005-09-21T15:28:31Z
Lists: pgsql-hackers
=?ISO-8859-1?Q?Hans-J=FCrgen_Sch=F6nig?= <postgres@cybertec.at> writes:
> COPY TO file_name USING some_select_statement;

I think this has been discussed before, check the archives.

> to implement the desired feature we just had to add some SPI code to the 
> scenery (SPI will also return HeapTuples so it should fit in there).

Any implementation that depends on SPI here is wrong.

			regards, tom lane