Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gC3yZ-0006kL-F7 for pgsql-general@arkaria.postgresql.org; Mon, 15 Oct 2018 14:36:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gC3yX-0003Zs-17 for pgsql-general@arkaria.postgresql.org; Mon, 15 Oct 2018 14:36:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gC3yW-0003Zl-Oy for pgsql-general@lists.postgresql.org; Mon, 15 Oct 2018 14:36:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gC3yU-0003VN-R9 for pgsql-general@postgresql.org; Mon, 15 Oct 2018 14:36:04 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w9FEa0Mx010331; Mon, 15 Oct 2018 10:36:00 -0400 From: Tom Lane To: Shrikant Bhende cc: pgsql-general@postgresql.org Subject: Re: FATAL: terminating connection because protocol synchronization was lost In-reply-to: References: Comments: In-reply-to Shrikant Bhende message dated "Mon, 15 Oct 2018 18:06:48 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <10329.1539614160.1@sss.pgh.pa.us> Date: Mon, 15 Oct 2018 10:36:00 -0400 Message-ID: <10330.1539614160@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Shrikant Bhende writes: > I am trying to restore the backup into postgresql 9.6 and during restore > copy command fails with below error, > 2018-10-12 06:21:40 UTC [40407]: [28-1] > application=psql.bin,user=postgres,db=cloudLOG: could not send data to > client: Broken pipe This says the client disconnected first. What does the problem look like from the client side? regards, tom lane