[Lazarus] TProcess

Alex du Plessis alexdup01 at telkomsa.net
Fri Apr 3 18:01:05 CEST 2009


Christian Iversen wrote:
> 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?
>
>   
Thanx - I'll try that



More information about the Lazarus mailing list