Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YxeXb-0006f7-OQ for pgsql-admin@arkaria.postgresql.org; Wed, 27 May 2015 16:50:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YxeXb-00021O-2J for pgsql-admin@arkaria.postgresql.org; Wed, 27 May 2015 16:50:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YxeXZ-0001zE-L7 for pgsql-admin@postgresql.org; Wed, 27 May 2015 16:50:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YxeXX-0004zH-2P for pgsql-admin@postgresql.org; Wed, 27 May 2015 16:50:48 +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 t4RGoiiP002628; Wed, 27 May 2015 12:50:44 -0400 From: Tom Lane To: girish R G peetle cc: pgsql-admin Subject: Re: PostgreSQL Dump based backup using pipe In-reply-to: References: <31650.1432736684@sss.pgh.pa.us> Comments: In-reply-to girish R G peetle message dated "Wed, 27 May 2015 21:55:14 +0530" Date: Wed, 27 May 2015 12:50:44 -0400 Message-ID: <2627.1432745444@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 girish R G peetle writes: > Thanks for checking. Here is the details. > PostgreSQL Version - 9.2.8 Hm. A quick trawl of the git logs didn't find any relevant bug fixes since 9.2.8. > Dump command : pg_dump.exe -U postgres -Fc -b test > Platform : Windows Server 2008 R2 > Output of dump command is redirected to write end of named pipe. I'm suspicious that that's exposing you to Windows' infamous text-mode data mangling. You might try using "-f namedpipe" instead of a shell redirect. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin