Re: WIP patch: add (PRE|POST)PROCESSOR options to COPY

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>, Alvaro Herrera <alvherre@2ndquadrant.com>, Simon Riggs <simon@2ndquadrant.com>, Fujii Masao <masao.fujii@gmail.com>, Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>, Craig Ringer <ringerc@ringerc.id.au>, pgsql-hackers@postgresql.org
Date: 2012-11-14T20:15:38Z
Lists: pgsql-hackers
On 11/14/2012 02:37 PM, Tom Lane wrote:

> What I'm imagining is a very very simple addition to COPY that just
> allows it to execute popen() instead of fopen() to read or write the
> data source/sink.  What you suggest would require hundreds of lines and
> create many opportunities for new bugs.
>
> 			

That's certainly a better answer than any I've had. I accept the reasoning.

cheers

andrew