Skip site navigation (1) Skip section navigation (2)

Please give me a help.

From: "jason_long" <jason_long(at)net-warder(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Please give me a help.
Date: 2003-04-14 03:13:16
Message-ID: IFEEJKBLJEFFPLCMKMFOAEACCAAA.jason_long@net-warder.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
Dear sir:
 
Following is one part of program to connect to postgresql server.
 
const char* conninfo="host=192.168.8.2 port=5432" database=log  username=tom password=xxx; 
   PgDatabase pgdb(conninfo);
        if (pgdb.ConnectionDb())
 {
         printf("connection server error!");
        exit(0); 
 }
        printf("connection server ok.");
 

When compile it ,
Always appears "request for member connectiondb in pgdb ,which is of non-aggregate pgdatabase .
  
Thank you for your help.
 
Jason

pgsql-interfaces by date

Next:From: milimeter@163.comDate: 2003-04-14 05:16:32
Subject: Problem about pgsql's column alias
Previous:From: Bruno Wolff IIIDate: 2003-04-14 01:24:54
Subject: Re: export to excel format

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group