Re: pg_dump problem

From: Andrew Sullivan <sullivana(at)bpl(dot)on(dot)ca>
To: user Postgresql ML <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump problem
Date: 2000-07-27 16:22:59
Message-ID: 20000727122259.G5485@bpl.on.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)bpl(dot)on(dot)ca> Burlington Public Library
+1 905 639 3611 x158 2331 New Street
Burlington, Ontario, Canada L7R 1J4

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2000-07-27 16:24:00 Re:
Previous Message Mehta, Ashok 2000-07-27 16:18:23