Thread: Programms working on a PostgreSQL database written in C++?

Hello,
is it possible to write programms in C/C++ witch works on a Postgresql Database ?
Which libarys are use for that?
Has anyone perhaps an example?
Or where can I find somethink about it?

H. Etzel
______________________________________________________________________________
UNICEF bittet um Spenden für die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101


Re: [ADMIN] Programms working on a PostgreSQL database written in C++?

From
"Radu-Adrian Popescu"
Date:
Yes, you can.

The C library is called libpq and I've used that for C programming with
postgres under linux.
I understand the source code should compile natively on windows now (no
cygwin), but not 100% sure.
There's also a C++ interface, at
http://gborg.postgresql.org/project/libpqxx/projdisplay.php

Good luck to you !

=====
Radu-Adrian Popescu
CSA, DBA, Developer
Aldratech Ltd.

----- Original Message -----
From: <hetzel.devel@web.de>
To: <pgsql-admin@postgresql.org>; <pgsql-general@postgresql.org>
Sent: Thursday, April 10, 2003 16:44
Subject: [ADMIN] Programms working on a PostgreSQL database written in C++?


Hello,
is it possible to write programms in C/C++ witch works on a Postgresql
Database ?
Which libarys are use for that?
Has anyone perhaps an example?
Or where can I find somethink about it?

H. Etzel
____________________________________________________________________________
__
UNICEF bittet um Spenden für die Kinder im Irak! Hier online an
UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org


Re: Programms working on a PostgreSQL database written in

From
Jonathan Bartlett
Date:
> Hello,
> is it possible to write programms in C/C++ witch works on a Postgresql Database ?
Yes

> Which libarys are use for that?
libpq

> Has anyone perhaps an example?
Look at the developer documentation on http://www.postgresql.org/

Jon

> Or where can I find somethink about it?
>
> H. Etzel
> ______________________________________________________________________________
> UNICEF bittet um Spenden f�r die Kinder im Irak! Hier online an
> UNICEF spenden: https://spenden.web.de/unicef/special/?mc=021101
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>