Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7PAr-0002vl-1j for pgsql-admin@arkaria.postgresql.org; Tue, 23 Jun 2015 14:27:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z7PAq-00033e-Fh for pgsql-admin@arkaria.postgresql.org; Tue, 23 Jun 2015 14:27:40 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z7P8g-0001D7-0z for pgsql-admin@postgresql.org; Tue, 23 Jun 2015 14:25:26 +0000 Received: from mbob.nabble.com ([162.253.133.15]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z7P8d-0007ku-3F for pgsql-admin@postgresql.org; Tue, 23 Jun 2015 14:25:24 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id C4FD6F97D2D for ; Tue, 23 Jun 2015 07:25:57 -0700 (PDT) Date: Tue, 23 Jun 2015 07:25:22 -0700 (MST) From: sveera To: pgsql-admin@postgresql.org Message-ID: <1435069522258-5854831.post@n5.nabble.com> Subject: pg_dump: Error message from server: lost synchronization with server: got messag e type "d", MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.2 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org 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-messag-e-type-d-tp5854831.html 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