Thinking about this - with the new PQputCopyEnd, the sending of \. can
probably also be removed.
Chris
Christopher Kings-Lynne wrote:
> This patch updates psql and pg_dump to use the new copy api. Probably
> needs some review.
>
> I have tested it with dos and unix newlines, etc.