Re: c++ program to connect to postgre database - Mailing list pgsql-general

From John R Pierce
Subject Re: c++ program to connect to postgre database
Date
Msg-id 4A557352.7060005@hogranch.com
Whole thread Raw
In response to c++ program to connect to postgre database  (ramon rhey serrano <ramonrheyserrano@yahoo.com>)
List pgsql-general
ramon rhey serrano wrote:
> Hello,
>
> I'm thinking of making a program in C++ (API) that will connect, read,
> and write to a PostgreSQL database. I honestly have no idea where to
> start and how to implement it in C++ using Dev C++ IDE.
> Any help would be greatly appreciated.

C++ easily calls C libaries...  I'd probably use libpq calls, see
http://www.postgresql.org/docs/current/static/libpq.html


there is an available C++ wrapper on this also, see
http://pqxx.org/development/libpqxx/



pgsql-general by date:

Previous
From: ramon rhey serrano
Date:
Subject: c++ program to connect to postgre database
Next
From: Scott Marlowe
Date:
Subject: Re: PostgreSQL and Poker