Skip site navigation (1) Skip section navigation (2)

Re: pg_restore on windows with pipe

From: "French, Martin" <frenchm(at)cromwell(dot)co(dot)uk>
To: "Ravi Thati" <gotothati(at)gmail(dot)com>
Cc: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_restore on windows with pipe
Date: 2011-03-30 06:30:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin


To (attempt to) answer your questions:



1) does the custom archive format of pg_dump needs to be in a file (not
pipe) for the pg_restore to seek back  &forth ?

Not to my knowledge.
I suspect that the windows "type" command is adding extra "header"
information to the file before passing it to pg_restore, therefore the
data blocks are in the wrong position - unless anyone can correct me

Maybe you could install GnuWin32 ( I
believe this gives access to the gnu version of "cat" which will allow
you to fully emulate Linux. 


2) will pg_restore try to do parallel restore of custom archive format
dump by default?

I believe it'll run serially unless specified to do otherwise. Don't
quote me on that though, I may be way off the mark...



This email is intended for the named recipient. The information contained 
in it is confidential.  You should not copy it for any purposes, nor 
disclose its contents to any other party.  If you received this email 
in error, please notify the sender immediately via email, and delete it from
your computer. 
Any views or opinions presented are solely those of the author and do not 
necessarily represent those of the company. 
PCI Compliancy: Please note, we do not send or wish to receive banking, credit
or debit card information by email or any other form of communication.         

Cromwell Tools Limited, PO Box 14, 65 Chartwell Drive
Wigston, Leicester LE18 1AT. Tel 0116 2888000
Registered in England and Wales, Reg No 00986161
VAT GB 115 5713 87 900

In response to

pgsql-admin by date

Next:From: Igor NeymanDate: 2011-03-30 13:40:20
Subject: Re: odbc
Previous:From: Ravi ThatiDate: 2011-03-30 06:07:43
Subject: Re: pg_restore on windows with pipe

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group