how to create query from C++ to PostgreSQL DB

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

how to create query from C++ to PostgreSQL DB

Postby TROM » Sat Aug 29, 2009 4:50 pm

Please give me simple example
What I must include in C++ code, maybe some headers files
and text of the query
TROM
 
Posts: 57
Joined: Mon Jun 16, 2008 6:56 pm

Re: how to create query from C++ to PostgreSQL DB

Postby kraada » Sat Aug 29, 2009 5:33 pm

You'll want to take a look at the documentation for libpqxx, see here. The general PostgreSQL documentation is probably worth a read as well.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 21 guests

cron