RE: How to connect via C++?

Поиск
Список
Период
Сортировка
Искать
От
Michael Ansley (UK)
Тема
RE: How to connect via C++?
Дата
в 07:53:28
Msg-id
7F124BC48D56D411812500D0B747251480F58F@fileserver002.intecsystems.co.uk
Список
Дерево обсуждения
How to connect via C++? Maxim Maletsky <maxim@japaninc.com>
Re: How to connect via C++? "J. T. Vermeulen" <jtv@cistron-office.nl>

-----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@cistron-office.nl]
>> Sent: 15 May 2001 12:18
>> To: Maxim Maletsky
>> Cc: pgsql-interfaces@postgresql.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-----

_________________________________________________________________________
This e-mail and any attachments are confidential and may also be privileged and/or copyright
material of Intec Telecom Systems PLC (or its affiliated companies). If you are not an
intended or authorised recipient of this e-mail or have received it in error, please delete
it immediately and notify the sender by e-mail. In such a case, reading, reproducing,
printing or further dissemination of this e-mail is strictly prohibited and may be unlawful.
Intec Telecom Systems PLC. does not represent or warrant that an attachment hereto is free
from computer viruses or other defects. The opinions expressed in this e-mail and any
attachments may be those of the author and are not necessarily those of Intec Telecom
Systems PLC.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
__________________________________________________________________________

В списке pgsql-interfaces по дате отправления
От: J. T. Vermeulen
Дата:
Сообщение: Re: How to connect via C++?
От: Peter Eisentraut
Дата:
Сообщение: Re: Compiling Test Programs
FAQ