sathya priya <mscsathya@yahoo.com> writes:
> pg_dump -z dbname > bkfilename
> PQendcopy: resetting connection
It's difficult to tell from this what made the COPY command fail.
There might be more info in the postmaster's logfile, though.
(If you're not running the postmaster with a logfile, restart it
with one --- no -S switch, send stdout and stderr to a file ---
and do the dump again.)
regards, tom lane