PQconnectdb question

Поиск
Список
Период
Сортировка
От Christian Valverde
Тема PQconnectdb question
Дата
Msg-id 200309131312.16427.valval@porta.net
обсуждение исходный текст
Список 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 по дате отправления: