Re: PostgreSQL Dump based backup using pipe

From: girish R G peetle <giri(dot)anamika0(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PostgreSQL Dump based backup using pipe
Date: 2015-05-28 09:10:57
Message-ID: CAKKd066ja0nWoVfxyJKObtngTY0AeXBaLeziVJLUDsAX+qj-qw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Tom,
I just tracked pg_dump writing output to a file. (using procmon)
As indicated below data is not written in serial fashion.
If we use name pipe would this behavior cause problem ?

[image: Inline image 2]
Thanks
Girish

On Wed, May 27, 2015 at 10:20 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> girish R G peetle <giri(dot)anamika0(at)gmail(dot)com> 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
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Graeme B. Bell 2015-05-28 13:37:48 Re: raid writethrough mode (WT), ssds and your DB. (was Performances issues with SSD volume ?)
Previous Message Bruce Momjian 2015-05-27 23:20:59 Re: raid writethrough mode (WT), ssds and your DB. (was Performances issues with SSD volume ?)