PQconnectdb question and md5 password

Поиск
Список
Период
Сортировка
От Guy Deleeuw
Тема PQconnectdb question and md5 password
Дата
Msg-id 48202DE2.20805@eurofer.be
обсуждение исходный текст
Ответы Re: PQconnectdb question and md5 password  (Marcelo Martins <pglists@zeroaccess.org>)
Список 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 по дате отправления:

Предыдущее
От: Shane Ambler
Дата:
Сообщение: Re: Postgresql Service Failed Error
Следующее
От: Marcelo Martins
Дата:
Сообщение: Re: PQconnectdb question and md5 password