From: BELEM Mahamadou <mabelem2003@yahoo.fr>
To: pgsql-cygwin@postgresql.org
Subject: why it is impossible to connect to the data base?
Date: Mon, 23 Jun 2008 16:46:43 +0000 (GMT)
Message-ID: <481487.67938.qm@web27502.mail.ukl.yahoo.com> (raw)
Dear all
I tried to connect my data base using a C++ program.
I use the following instructions but it is impossible to make the connection.
Can someone explain me the problem.
PGconn *conn;
conn = PQsetdbLogin("localhost",
NULL,
NULL,
NULL,
"database",
"user",
"password");
Best regards
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-cygwin@postgresql.org
Cc: mabelem2003@yahoo.fr
Subject: Re: why it is impossible to connect to the data base?
In-Reply-To: <481487.67938.qm@web27502.mail.ukl.yahoo.com>
References: <481487.67938.qm@web27502.mail.ukl.yahoo.com>
* 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