From: Marvin Bellamy <marvin.bellamy@innovision.com>
To: pgsql-interfaces@postgresql.org
Subject: libpq: Newbie help w/ data type conversions on queries and updates
Date: Wed, 30 Mar 2005 11:11:28 -0600
Message-ID: <424ADDC0.8070603@innovision.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: marvin.bellamy@innovision.com
Subject: Re: libpq: Newbie help w/ data type conversions on queries and updates
In-Reply-To: <424ADDC0.8070603@innovision.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox