Re: c++ program to connect to postgre database

From: John R Pierce <pierce(at)hogranch(dot)com>
To: ramon rhey serrano <ramonrheyserrano(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: c++ program to connect to postgre database
Date: 2009-07-09 04:34:26
Message-ID: 4A557352.7060005@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Roseller A. Romanos 2009-07-09 04:37:00 Help me please...
Previous Message Greg Smith 2009-07-09 04:05:35 Re: PostgreSQL and Poker