[Lazarus] TProcess

Christian Iversen chrivers at iversen-net.dk
Fri Apr 3 17:33:38 CEST 2009


Alex du Plessis wrote:
> I am trying to run pg_dump on a PostgreSQL database. On the command line 
> one can specify the user name but not the password.  Once the process is 
> running pg_dump requests the password inside the console window.  there 
> is no commandline option to pass the password to the program.

A common way to do this is to enable IDENT authentication for 
PostgreSQL, so that a certain user (the backup user) is able to connect 
without a password, if connecting from localhost. That works quite well.

Maybe that's a possiblity?

-- 
Med venlig hilsen
Christian Iversen



More information about the Lazarus mailing list