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 1gC2nU-0000qa-UH for pgsql-general@arkaria.postgresql.org; Mon, 15 Oct 2018 13:20:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gC2nS-0003V8-MI for pgsql-general@arkaria.postgresql.org; Mon, 15 Oct 2018 13:20:34 +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.89) (envelope-from ) id 1gC2nS-0003UX-AQ for pgsql-general@lists.postgresql.org; Mon, 15 Oct 2018 13:20:34 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gC2nM-0007wd-N3 for pgsql-general@postgresql.org; Mon, 15 Oct 2018 13:20:33 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 164E7187; Mon, 15 Oct 2018 09:20:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 15 Oct 2018 09:20:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=6 SW1LS9+fimw31XyfGtRxtofURvoE7daGWeN0qKs95U=; b=R+bKyF7MOOGMCGsVy tcYLaLKzJuGTV7M1ShL2hXeWXPn0xqRTu6+il4180hvb3Qq4SfYrcSQoh7Qd1uj8 U6LhhKtYJmjPwLFc18WBm9nDOOhFNrmQfkjIvL5+kn1czgbRr1HCoBtdPUTcbZiW BJsnJ3ibNhMJhB2F339XWaEfmgri2tv27am7XbVub/3Q4TQrxGw3ZqXuqabC3ywu DhSm3CQb02Vxk4Yis0Wa8531gqwAw4KpbuuAKeRX3TjqGsNAxdsfwkWTcVIuWK08 joY81LIGs+reu/YFalxttASw0SRj5xt52h4eNqMNWhqMjy7jLWn3gVLoaIqI5Jg7 x8Vnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=6SW1LS9+fimw31XyfGtRxtofURvoE7daGWeN0qKs9 5U=; b=UYCiWV3ymx7qOCXgIiY49XcYg8i5iNpjyg7pGubrl+3fY/KamLLHC1ubc ITHidFmPJ93yhnrbtO6OPM3ZUD7N30eXBPxKlzFW/9cjtGtKHIAjhJ9m1sb+QzJw ndBB7Mcfz4vj7u1xeVKrXiWtnBDraNPppz6XZs9iUUOKTQxVE3W9HdeFwfJe262J bxgkRr+vSPA031pmXmGYEnKP8Zd3rclYOLk417y7XVqtYIoQjE3/jODgcuDyNudX wpt5y9+f5guVBnp2czfArRk4T6Cd2laS+pbLzi/Hx4bjgBsCysf0VQaihD5bKIRD A6m2506mHgXwMlpKTWYIGojh3EREw== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.3] (unknown [71.212.134.3]) by mail.messagingengine.com (Postfix) with ESMTPA id 9096BE44DC; Mon, 15 Oct 2018 09:20:24 -0400 (EDT) Subject: Re: FATAL: terminating connection because protocol synchronization was lost To: Shrikant Bhende , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: <7846fbfb-d7e8-8288-1a5c-a0fbea1d9c76@aklaver.com> Date: Mon, 15 Oct 2018 06:20:23 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/15/18 5:36 AM, Shrikant Bhende wrote: > Hi Team, > > 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 I would say the above is the issue. Where is the client running relative to the server? > 2018-10-12 06:21:40 UTC [40407]: [29-1] > application=psql.bin,user=postgres,db=cloudSTATEMENT:  COPY > d20160905_x_20da999ef9434e60942859c3690e642f (did, location_id, h00, > h00_min, h00_max, h00_wgt, h01, h01_min, h01_max, h01_wgt, h02, h02_min, > h02_max, h02_wgt, h03, h03_min, h03_max, h03_wgt, h04, h04_min, h04_max, > h04_wgt, h05, h05_min, h05_max, h05_wgt, h06, h06_min, h06_max, h06_wgt, > h07, h07_min, h07_max, h07_wgt, h08, h08_min, h08_max, h08_wgt, h09, > h09_min, h09_max, h09_wgt, h10, h10_min, h10_max, h10_wgt, h11, h11_min, > h11_max, h11_wgt, h12, h12_min, h12_max, h12_wgt, h13, h13_min, h13_max, > h13_wgt, h14, h14_min, h14_max, h14_wgt, h15, h15_min, h15_max, h15_wgt, > h16, h16_min, h16_max, h16_wgt, h17, h17_min, h17_max, h17_wgt, h18, > h18_min, h18_max, h18_wgt, h19, h19_min, h19_max, h19_wgt, h20, h20_min, > h20_max, h20_wgt, h21, h21_min, h21_max, h21_wgt, h22, h22_min, h22_max, > h22_wgt, h23, h23_min, h23_max, h23_wgt) FROM stdin; > 2018-10-12 06:21:40 UTC [40407]: [30-1] > application=psql.bin,user=postgres,db=cloudFATAL: terminating connection > because protocol synchronization was lost > > I am trying to migrate the DB from EDB PPAS to community PostgreSQL, we > don't have any oracle or PPAS dependent objects so I took the pg_dumpall > using the PostgreSQL binaries and trying to restore the same. > > PPAS :: 9.3 > PostgreSQL : 9.6 > O/S :: Centos 6.6 > > Thanks and Regards. > > -- > Shrikant Bhende > +91-9975543712 -- Adrian Klaver adrian.klaver@aklaver.com