PQconnectdb question - Mailing list pgsql-interfaces

From Christian Valverde
Subject PQconnectdb question
Date
Msg-id 200309131312.16427.valval@porta.net
Whole thread Raw
List pgsql-interfaces
could somebody show me a little example on this function 
i have this parametersPQconn connection;char *user;char *passw;char *db;char *server;char *port;

user="chrisvv";
passw="mypass";
db="sales";
server="192.168.1.1";
port="5432";is it right to do as follows
connection=PQconnectdb(user,passw,db,server,port);
.... how is the correct form of making a conection with user and passwd  
parameters?


pgsql-interfaces by date:

Previous
From: Michael Vodep
Date:
Subject: Re: insert/export BLOB: C libpq
Next
From: ddd-datendienst-dortmund@t-online.de (d=d=d)
Date:
Subject: couldn't open table