Ron Mayer <ron(at)intervideo(dot)com> writes:
> [ large tcpdump ]
You probably shouldn't have cluttered the list with that output, but
anyway...
The reason why the new protocol didn't prevent connection loss is that
you weren't using new protocol: it's clear from the trace that this is
an old-protocol connection. I conclude that you were using an old
client, or at least an old libpq.so at the client end.
As for the unescaped CR, it's there sure enough, but this won't tell
us where it came from. Could you double-check the version of the server
you were dumping from?
regards, tom lane