Attached is an undocumented patch that implements COPY for CSVs
according to the scheme recently discussed. I believe it handles all the
straightforward and perverse cases that were discussed (including
multiline fields and partially quoted fields).
I have done some light testing on it, but would appreciate some
assistance with testing, as well as any useful review comments.
cheers
andrew