Linking app to PgSQL

From: Mayan <escalante(at)canada(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Linking app to PgSQL
Date: 2001-09-25 00:18:35
Message-ID: 3BAFDB9B.B925EA52@canada.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

To access the back end of PostgreSQL using C++, according to Bruce
Monjian, the author of "PostgreSQL Introduction and concept", one must
include 'libpq++.h' in the source file, link the app to '-L
/usr/local/pgsql/include' as well as interfacing to '-I
/user/local/pgsql/include'.
However, the directories for the linking and interfacing do not exist in
my systems. Thus my question:
How do I determine where are the files that I have to Interface and Link
located?

I am using Qt and tmake form troll tech to develop the application, any
suggestions are welcome.

--
My Computer's Opinion
~~~~~~~~~~~~~~~~~~~~~~

if( desire == play_games() ){return getNintendo64();}
if( (desire == computing() ) && (user != smart) )
{return getMicrosoft();}
if( ( desire == computing() ) && (user == smart) )
{return getLinux();}

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Randal L. Schwartz 2001-09-25 00:29:19 Re: Function Help
Previous Message Brian C. Doyle 2001-09-24 22:23:15 Re: Function Help