Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B3125651726 for ; Mon, 23 Jun 2008 13:48:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 80336-01-3 for ; Mon, 23 Jun 2008 13:48:13 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from web27502.mail.ukl.yahoo.com (web27502.mail.ukl.yahoo.com [217.146.177.206]) by postgresql.org (Postfix) with SMTP id B039D65175E for ; Mon, 23 Jun 2008 13:46:45 -0300 (ADT) Received: (qmail 70659 invoked by uid 60001); 23 Jun 2008 16:46:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=upmyurqcCzrYavhi3vQn80VMbH8dmGOpPbY0pTYvhasENopKEvBMVFxZdFwTCZXdyyo8dJlvXryjulXAJA7DMJ4rFzE3iXe9KuuP7MhfrRCc0YD/T7N4gfJPPBOp4MTRy9d//0JaCX0Ge7454E1sLJe0ge56gb6UNGBN6G9Qjbs=; Received: from [147.99.15.33] by web27502.mail.ukl.yahoo.com via HTTP; Mon, 23 Jun 2008 16:46:43 GMT X-Mailer: YahooMailRC/975.45 YahooMailWebService/0.7.199 Date: Mon, 23 Jun 2008 16:46:43 +0000 (GMT) From: BELEM Mahamadou Subject: why it is impossible to connect to the data base? To: pgsql-cygwin@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-686662653-1214239603=:67938" Message-ID: <481487.67938.qm@web27502.mail.ukl.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200806/4 X-Sequence-Number: 4392 --0-686662653-1214239603=:67938 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear all=0A=0AI tried to connect my data base using a C++ program.=0A=0AI u= se the following instructions but it is impossible to make the connection.= =0ACan someone explain me the problem.=0A=0A=0A PGconn *conn;=0A conn =3D P= QsetdbLogin("localhost",=0A NULL,=0A = NULL,=0A NULL,=0A "database",=0A = "user",=0A "password");=0A=0ABest r= egards=0A=0A=0A ______________________________________________________= _______________________ =0AEnvoyez avec Yahoo! Mail. Une boite mail plus in= telligente http://mail.yahoo.fr --0-686662653-1214239603=:67938 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Dear all

I tried to connect my data base using a C++= program.

I use the following instructions  but it is impossibl= e to make the connection.
Can someone explain me the problem.

 PGconn *conn;
 conn =3D PQsetdbLogin("localhost",
 =             &nb= sp;       NULL,
    &n= bsp;            = ;    NULL,
       &nbs= p;             = NULL,
           =           "database",
          = ;           "user",
&n= bsp;            = ;        "password");

Best regard= s


=0A=0A=0A
=0AEnvoy=C3=A9 avec= Yahoo! Mail.
Une boite mail plus intelligente. --0-686662653-1214239603=:67938--