Re: Data Dump Issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Murali Mohan Kasetty <kasetty(at)india(dot)hp(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Data Dump Issue
Date: 2002-09-20 15:32:23
Message-ID: 16569.1032535943@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Murali Mohan Kasetty <kasetty(at)india(dot)hp(dot)com> writes:
> When I try to run the command (2) in Second server, I got the following
> error

> "pqReadData() -- backend closed the channel unexpectedly.
> This probably means the backend terminated abnormally
> before or while processing the request.
> PQendcopy: resetting connection"

> and the error message on Postmaster console is "Socket command type \
> unknown"

You sure that's the only message? This looks like the second backend
has rejected some line of COPY data (probably due to a foreign-key or
unique constraint). The relevant error would be before the complaint
about socket command unknown.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Aaron Held 2002-09-20 15:34:27 Monitoring a Query
Previous Message Tom Lane 2002-09-20 15:19:30 Re: timestamp parse error