Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 5D6232E004B for ; Tue, 6 May 2008 07:50:13 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 13624-08 for ; Tue, 6 May 2008 07:49:56 -0300 (ADT) Received: from mx1.hub.org (mx1.hub.org [200.46.208.106]) by developer.postgresql.org (Postfix) with ESMTP id 5BB602E0042 for ; Tue, 6 May 2008 07:50:02 -0300 (ADT) X-Greylist: delayed 00:42:14.533907 by SQLgrey-1.7.5 Received: from BRUBLUmx13.mactelecom.net (BRUBLUmx13.mactelecom.net [217.64.240.20]) by mx1.hub.org (Postfix) with ESMTP id 6C161B07799 for ; Tue, 6 May 2008 07:49:56 -0300 (ADT) Received: by BRUBLUmx13.mactelecom.net (Postfix, from userid 505) id AEDF72D3287; Tue, 6 May 2008 12:07:42 +0200 (CEST) Received: from smtp.eurofer.be (217.64.254.218.mactelecom.net [217.64.254.218]) by BRUBLUmx13.mactelecom.net (Postfix) with ESMTP id 894C72D2F3A for ; Tue, 6 May 2008 12:07:41 +0200 (CEST) Received: from pcgd-c.eurofer.be ([192.168.3.77]) by smtp.eurofer.be with esmtp (Exim 4.63) (envelope-from ) id 1JtK53-0002W9-UO for pgsql-admin@postgresql.org; Tue, 06 May 2008 12:07:41 +0200 Message-ID: <48202DE2.20805@eurofer.be> Date: Tue, 06 May 2008 12:07:30 +0200 From: Guy Deleeuw User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam_score: -3.9 X-SA-Exim-Connect-IP: 192.168.3.77 X-SA-Exim-Mail-From: G.De_Leeuw@eurofer.be Subject: PQconnectdb question and md5 password X-SA-Exim-Scanned: Yes (on smtp.eurofer.be) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/38 X-Sequence-Number: 29122 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