Thread: about "pg_dump " without pompt password

about "pg_dump " without pompt password

From
Ying Lu
Date:
Hello all,

Is it possible that we setup the password in the pg_dump command line
instead of let users input it through prompt command. E.g.,

   pg_dump test -c -d --host=localhost -U testUser1 --file='a.dmp'
--no-privileges

Thanks a lot!
Ly