Unix Technical Forum

Has anyone used the libpqxx C++ API for PostgreSQL

This is a discussion on Has anyone used the libpqxx C++ API for PostgreSQL within the Pgsql General forums, part of the PostgreSQL category; --> Hello everyone, If anyone here has, would you please share with me how to create the connections, perform a ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 01:03 PM
af300wsm@gmail.com
 
Posts: n/a
Default Has anyone used the libpqxx C++ API for PostgreSQL

Hello everyone,

If anyone here has, would you please share with me how to create the
connections, perform a query and then iterate over its results? I've
been reading through the online documentation for this library at
http://thaiopensource.org/devproject...tml/Reference/
and I'm simply not getting what I need. I've looked through the
tutorial and I've gotten enough that I think I can make a connection to
the database. However, I'm just drawing a blank on how to use this
library beyond that.

If you know, or know who I should ask, I'd appreciate it.

Thanks,
Andy

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 01:05 PM
Sandeep Kumar Jakkaraju
 
Posts: n/a
Default Re: Has anyone used the libpqxx C++ API for PostgreSQL

Hi

There are several Example C++ programs which comes with libpqxx ...
just go through them for creating connection/transaction etc....

If you have struct member alignment problem ... please go through my blog ..
http://jakkarajus.blogspot.com



On 21 Dec 2006 10:01:22 -0800, af300wsm@gmail.com <af300wsm@gmail.com>
wrote:
>
> Hello everyone,
>
> If anyone here has, would you please share with me how to create the
> connections, perform a query and then iterate over its results? I've
> been reading through the online documentation for this library at
> http://thaiopensource.org/devproject...tml/Reference/
> and I'm simply not getting what I need. I've looked through the
> tutorial and I've gotten enough that I think I can make a connection to
> the database. However, I'm just drawing a blank on how to use this
> library beyond that.
>
> If you know, or know who I should ask, I'd appreciate it.
>
> Thanks,
> Andy
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>




--
Sandeep Kumar Jakkaraju
WeBlog:

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:30 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com