From: | "Michael Ansley (UK)" <Michael(dot)Ansley(at)intec-telecom-systems(dot)com> |
---|---|
To: | "'J(dot) T(dot) Vermeulen'" <jtv(at)cistron-office(dot)nl>, Maxim Maletsky <maxim(at)japaninc(dot)com> |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | RE: How to connect via C++? |
Date: | 2001-05-15 11:53:10 |
Message-ID: | 7F124BC48D56D411812500D0B747251480F58F@fileserver002.intecsystems.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Or, of course, you could use embedded SQL (using the ecpg compiler).
This is quite convenient if you are familiar with embedded SQL.
Cheers...
MikeA
>> -----Original Message-----
>> From: J. T. Vermeulen [mailto:jtv(at)cistron-office(dot)nl]
>> Sent: 15 May 2001 12:18
>> To: Maxim Maletsky
>> Cc: pgsql-interfaces(at)postgresql(dot)org
>> Subject: Re: [INTERFACES] How to connect via C++?
>>
>>
>> On Mon, 14 May 2001, Maxim Maletsky wrote:
>>
>> > There's a task I want to do with C++, it also includes
>> reading from and
>> > writing to a PostgreSQL database.
>> >
>> > How do I do that on C++?
>> >
>> > What libraries are?
>>
>> Use either libpq++ (C++ library), or if you're into that
>> kind of thing, use
>> the C library libpq directly. In the latter case of course,
>> remember to
>> include the headers in extern "C" blocks as usual. Either
>> way you'll probably
>> have to look through the libpq documentation.
>>
>>
>> > Compilers?
>>
>> Whatever works. Try g++.
>>
>>
>> Jeroen
>>
>>
>> ---------------------------(end of
>> broadcast)---------------------------
>> TIP 4: Don't 'kill -9' the postmaster
>>
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBOwEYinympNV/C086EQJYcwCfe2HOTlXTahQ0jtUrab24/fg9DRcAoJCv
UjIgqWyz3qdXpQAUkQ55w7EQ
=xJW0
-----END PGP SIGNATURE-----
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2001-05-15 14:24:26 | Re: Compiling Test Programs |
Previous Message | J. T. Vermeulen | 2001-05-15 11:18:25 | Re: How to connect via C++? |