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

Re: BUG #2931: Can't capture pg_dump Password prompt

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Michael Schmidt <michaelmschmidt(at)msn(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2931: Can't capture pg_dump Password prompt
Date: 2007-01-29 11:38:36
Message-ID: 20070129113836.GD13900@svr2.hagander.net (view raw or flat)
Thread:
Lists: pgsql-bugs
On Sun, Jan 28, 2007 at 09:51:11AM -0700, Michael Schmidt wrote:
> Mr. Hagander,
> I have taken the discussion of the password issue to the General group.  Again, thanks.  There are still two minor issues.
> 
> 1.  Entering pg_restore at the command prompt without any parameters hangs.  Shouldn't it exit neatly with an error message?

No. It will then try to read the information from stdin. See
http://www.postgresql.org/docs/8.2/static/app-pgrestore.html, under
Optinos.

> 2.  The pg_dump application help (pg_dump --help) states both -U and --username= are valid while the manual (section VI) only mentions -U.  Should the manual entry be edited?

Yes, I beleive so. Same problems are present for at least -W also, and
also present on pg_restore. so yes, that should be fixed. I'll try to
put together a patch unless beaten to it.

//Magnus

In response to

pgsql-bugs by date

Next:From: Magnus HaganderDate: 2007-01-29 17:46:35
Subject: Re: [BUGS] Missing error message on missing ssl-key-files
Previous:From: Michael SchmidtDate: 2007-01-28 16:51:11
Subject: Re: BUG #2931: Can't capture pg_dump Password prompt

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