Re: small pg_dump RFE: new --no-prompt (password) option

From: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: small pg_dump RFE: new --no-prompt (password) option
Date: 2006-12-01 14:07:01
Message-ID: 1164982021.13204.273.camel@coppola.muc.ecircle.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > Seems to me that you could just do this by setting stdin to be
> > /dev/null?
> I think a well defined error message makes sense.

I would think the OP doesn't care that much about the message itself but
about the fact that the thing is left hanging and never returns. In the
presence of such a flag pg_dump should never try to prompt for a
password but fail immediately and exit.

Cheers,
Csaba.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-12-01 15:12:06 Re: FOR SHARE vs FOR UPDATE locks
Previous Message Dave Cramer 2006-12-01 13:59:04 Re: small pg_dump RFE: new --no-prompt (password) option