From: Vasquez, Jason <Jason.Vasquez@Connect.Xerox.com>
To: 'pgsql-interfaces@hub.org' <pgsql-interfaces@hub.org>
Subject: PgConnection
Date: Wed, 21 Oct 1998 15:37:00 -0400
Message-ID: <C1CB538EFB88D111A60200805FBB99118B7663@CINMSG1> (raw)
I have just installed PostgreSQL, and the installation took place with no
problems/errors.
I've read the documentation about using the C++ interface to Postgres, but I
seem to be havin trouble getting anything to compile. Following the example
included with the distribution, I have done something similar to this:
#include <iostream.h>
#include <libpq++.h>
void main() {
PgDatabase data ("foo");
yadayadayada
}
Whenever I do this, I get a compile error stating that there is an undefined
reference to PgConnection. Has anyone had a similar situation, or know how
to remedy this?
Thanks,
-Jason
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-interfaces@postgresql.org
Cc: Jason.Vasquez@Connect.Xerox.com, pgsql-interfaces@hub.org
Subject: Re: PgConnection
In-Reply-To: <C1CB538EFB88D111A60200805FBB99118B7663@CINMSG1>
References: <C1CB538EFB88D111A60200805FBB99118B7663@CINMSG1>
* 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