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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Dave Cramer <pg(at)fastcrypt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: small pg_dump RFE: new --no-prompt (password) option
Date: 2006-12-01 15:37:07
Message-ID: 16102.1164987427@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> Seems to me that you could just do this by setting stdin to be
> /dev/null?

No, because the simple_prompt code makes a point of reading from
/dev/tty.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Leandro Lucarella 2006-12-01 15:44:22 Re: Keep-alive support
Previous Message Tom Lane 2006-12-01 15:12:06 Re: FOR SHARE vs FOR UPDATE locks