> ------- Original Message -------
> From: Tom Lane <tgl@sss.pgh.pa.us>
> To: Dave Page <dpage@postgresql.org>
> Sent: 1/5/07, 10:48:17 PM
> Subject: Re: [HACKERS] -f <output file> option for pg_dumpall
>
>
> Wouldn't it be easier/better to re-point stdout at the -f file, and not
> touch pg_dump at all?
First thing I tried, but using virtually identical code to that which we use with pg_dump it just hangs. The debugger
tellsme there's a deadlock - my best guess is that stdin/out/err of the child shell & pg_dump processes don't get
redirectedalong with their parents. I'm testing on Windows btw - dunno if *nix would be different.
/D