Yes, you're right. But why do not make it like --user and
--read-password-from-stdin-without-promtp options ?
--
Dimitry
Tuesday, January 29, 2002, 11:16:21 AM, Karl DeBisschop wrote:
> On Tue, 2002-01-29 at 03:27, Gurudutt wrote:
>> Hello Dmitry,
>>
>> Yes!! I fully agree with what you say, the option should've been there
>> in pg_dump just the way it is in mysql_dump.
> IIRC, it has been discussed, but was rejected because passing a password
> on a command line cannot generally be made secure.
> Responding to a propmt can. A variety of other methods can. But command
> lines are sniffable in many (most? all?) environments.
> --
> Karl
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster