PQconnectdb question and md5 password - Mailing list pgsql-admin

From Guy Deleeuw
Subject PQconnectdb question and md5 password
Date
Msg-id 48202DE2.20805@eurofer.be
Whole thread Raw
Responses Re: PQconnectdb question and md5 password
List pgsql-admin
Hello,

I don't know how can I pass a md5 password to the password field ?
example :
connInfo = "host=localhost port=5432 dbname=db_stats user=postgres
password=secret";
  pConn = PQconnectdb(connInfo);

I try to replace the string 'secret' by the content of /etc/shadow but
without succès.

Thanks in advance

Guy

pgsql-admin by date:

Previous
From: Shane Ambler
Date:
Subject: Re: Postgresql Service Failed Error
Next
From: Marcelo Martins
Date:
Subject: Re: PQconnectdb question and md5 password