Re: No password supplied error when using pg_dump - Mailing list pgsql-novice

From Stephen Cook
Subject Re: No password supplied error when using pg_dump
Date
Msg-id 0840797e-b416-e94d-f5a1-d15a18d2c422@gmail.com
Whole thread Raw
In response to No password supplied error when using pg_dump  (JORGE MALDONADO <jorgemal1960@gmail.com>)
Responses Re: No password supplied error when using pg_dump
List pgsql-novice
On 2016-11-16 20:39, JORGE MALDONADO wrote:
> I am trying to run pg_dump to backup my PostgreSQL DB and I am getting a
> "fe_sendauth: no pssword supplied" error message. This is a Windows
> Server 2012 environment and I am issuing pg_dump from a command prompt.
>
> The command is as follows:
> pg_dump -E win1252 -f d:/respaldos/chartsclub/basedatos/CC.backup -F p
> -n chartsclub -h localhost -U postgres -w chartsclub


That "-w" makes pg_dump not ask for a password, so you will get an error
if the user requires password authentication.


-- Stephen




pgsql-novice by date:

Previous
From: JORGE MALDONADO
Date:
Subject: No password supplied error when using pg_dump
Next
From: JORGE MALDONADO
Date:
Subject: Re: No password supplied error when using pg_dump