pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jason_long <jason_long@net-warder.com>
To: pgsql-interfaces@postgresql.org
Subject: Please give me a help.
Date: Mon, 14 Apr 2003 11:13:16 +0800
Message-ID: <IFEEJKBLJEFFPLCMKMFOAEACCAAA.jason_long@net-warder.com> (raw)

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

Message-ID: <IFEEJKBLJEFFPLCMKMFOAEACCAAA.jason_long@net-warder.com>
Permalink:  ../IFEEJKBLJEFFPLCMKMFOAEACCAAA.jason_long@net-warder.com/
Also on:    postgresql.org/message-id/IFEEJKBLJEFFPLCMKMFOAEACCAAA.jason_long@net-warder.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: jason_long@net-warder.com
  Subject: Re: Please give me a help.
  In-Reply-To: <IFEEJKBLJEFFPLCMKMFOAEACCAAA.jason_long@net-warder.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