libpq: Newbie help w/ data type conversions on queries and updates - Mailing list pgsql-interfaces

From Marvin Bellamy
Subject libpq: Newbie help w/ data type conversions on queries and updates
Date
Msg-id 424ADDC0.8070603@innovision.com
Whole thread Raw
Responses Re: libpq: Newbie help w/ data type conversions on
List pgsql-interfaces
I'm coming from a Java background, so I'm relatively new to C/C++ in 
general.  I want to convert the data retrieved from a field to an 
"external" data type I can use; specifically a datetime or a timestamp.  
It looks like the only option for retrieving field data is as raw bytes, 
but I haven't found any information on mapping those byte streams to 
structures.

Also, is there any sort of a libpq API, or are you just stuck with 
perusing header files?

I had zero luck following the build instructions for libpqxx on Windows, 
so it looks like libpq is my only option for now.

-- 
Marvin Keith Bellamy
Software Engineer
Innovision Corporation
913.438.3200



pgsql-interfaces by date:

Previous
From: Greg Stark
Date:
Subject: Re: DBD::PG question
Next
From: "Greg Sabino Mullane"
Date:
Subject: DBD::Pg 1.41 beta testers needed