On Thu, Jul 27, 2000 at 12:11:53PM -0400, Antoine Reid wrote:
> > In 7.x versions, this appears to be fixed using the '-f' switch:
> >
> > mymachine:~$ pg_dump -u [database] -f [somefile]
>
> That is absolutely correct, although we might want to have the 'Username:'
> and 'Password:' prompts sent to STDERR? That would solve that
> problem... It could save some people's time in finding how it works..
Why? If you do it the new way, you get the prompts that you expect,
and you don't have to redirect to a file, so you get a nice clean
dump file.
--
Andrew Sullivan Computer Services
<sullivana@bpl.on.ca> Burlington Public Library
+1 905 639 3611 x158 2331 New Street
Burlington, Ontario, Canada L7R 1J4