Re: [PATCH 4/4] Add tests to dblink covering use of COPY TO FUNCTION

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Greg Smith <greg@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Robert Haas <robertmhaas@gmail.com>, Daniel Farina <dfarina@truviso.com>, pgsql-hackers@postgresql.org
Date: 2009-11-24T02:37:25Z
Lists: pgsql-hackers

Attachments


Greg Smith wrote:
> I haven't heard anything from Andrew about ragged CVS import either.  
> I think that ultimately those features are useful, but just exceed 
> what the existing code could be hacked to handle cleanly. 

The patch is attached for your edification/amusement. I have backpatched 
it to 8.4 for the client that needed it, and it's working just fine. I 
didn't pursue it when it was clear that it was not going to be accepted. 
COPY returning text[] would allow us to achieve the same thing, a bit 
more verbosely, but it would be a lot more work to develop.

cheers

andrew