pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sveera <sveera@oration.com>
To: pgsql-admin@postgresql.org
Subject: pg_dump: Error message from server: lost synchronization with server:  got messag e type "d",
Date: Tue, 23 Jun 2015 07:25:22 -0700 (MST)
Message-ID: <1435069522258-5854831.post@n5.nabble.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

I am trying to backup  a database  products with pg_Dump. The total size of
the database is 1.6 gb. One of the table in the database is product_image
which is 1gb in size. When I run the pg_dump on the database the database
backup fails with this error.

##pg_dump: Dumping the contents of table "product_image" failed: 
PQgetCopyData
() failed.
pg_dump: Error message from server: lost synchronization with server: 
got messag
e type "d", length 6036499
pg_dump: The command was: COPY public.product_image (id, username, 
projectid, session, filename, filetype, filesize, filedata, uploadedon,
"timestamp") T

If I try to backup the database by excluding the product_image table, the
backup succeeds. I tried increasing the shared_buffer in the postgres.conf
to 1.5gb from 128MB , but the issue still persists. How can this issue be
resolved?



--
View this message in context: http://postgresql.nabble.com/pg-dump-Error-message-from-server-lost-synchronization-with-server-got-...
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (8+ messages)  latest in thread

Message-ID: <1435069522258-5854831.post@n5.nabble.com>
Permalink:  ../1435069522258-5854831.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1435069522258-5854831.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: sveera@oration.com
  Subject: Re: pg_dump: Error message from server: lost synchronization with server:  got messag e type "d",
  In-Reply-To: <1435069522258-5854831.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox