pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guy Deleeuw <G.De_Leeuw@eurofer.be>
To: pgsql-admin@postgresql.org
Subject: PQconnectdb question and  md5 password
Date: Tue, 06 May 2008 12:07:30 +0200
Message-ID: <48202DE2.20805@eurofer.be> (raw)

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



view thread (7+ messages)  latest in thread

Message-ID: <48202DE2.20805@eurofer.be>
Permalink:  ../48202DE2.20805@eurofer.be/
Also on:    postgresql.org/message-id/48202DE2.20805@eurofer.be

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: G.De_Leeuw@eurofer.be
  Subject: Re: PQconnectdb question and  md5 password
  In-Reply-To: <48202DE2.20805@eurofer.be>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox