Re: pg_dump fatal error - Mailing list pgsql-admin

From drum.lucas@gmail.com
Subject Re: pg_dump fatal error
Date
Msg-id CAE_gQfWzm_UjXbP1VvHRxKnMadp-NT_bM9M_9vZst9jkSs60CQ@mail.gmail.com
Whole thread Raw
In response to pg_dump fatal error  ("drum.lucas@gmail.com" <drum.lucas@gmail.com>)
Responses Re: pg_dump fatal error  (Steve Crawford <scrawford@pinpointresearch.com>)
List pgsql-admin

ERROR:  unexpected message type 0x58 during COPY from stdin

On 12 February 2016 at 07:30, drum.lucas@gmail.com <drum.lucas@gmail.com> wrote:
Hi guys

I'm doing a copy (pg_dump) from a slave server to a test server.
The DB size is 1,7 TB, and I get the error at 1,4 TB.

Command:
ssh postgres@servidorslave01 "/usr/pgsql-9.2/bin/pg_dump --exclude-table-data='junk.*' --format=custom db_live" | /usr/pgsql-9.2/bin/pg_restore --dbname=uat_temp --exit-on-error

Error:
|postgres|pg_restore| CONTEXT:  COPY ja_feedlog, line 1
STATEMENT:  COPY ja_feedlog (id, clientid, mobiuserid, customerid, invoiceid, description, gtime, jobid, log_type, serialised_data, push_status, requestorid, the_geom, admin_read, visitid) FROM stdin;

LOG:  could not send data to client: Broken pipe
FATAL:  connection to client lost 

What can cause that kind of error? I've tried more than once, actually.

Thanks
Lucas 

pgsql-admin by date:

Previous
From: "drum.lucas@gmail.com"
Date:
Subject: pg_dump fatal error
Next
From: Tom Lane
Date:
Subject: Re: pg_dump fatal error