Andrew Dunstan <andrew(dot)dunstan(at)pgexperts(dot)com> writes:
> I also think this is really just a psql issue. Most other clients (e.g.
> a perl DBD::Pg client) will have no trouble handling all this now.
Well, that's debatable, and in any case I think you'd find it will be
easier to push this into COPY than to invent new psql backslash commands
for it.
regards, tom lane