From: Graham Wilson <grahamwilsonca@yahoo.ca>
To: pgsql-admin@postgresql.org
Subject: Converting returned string to C type
Date: Thu, 28 Nov 2002 12:38:49 -0500 (EST)
Message-ID: <20021128173849.1791.qmail@web14407.mail.yahoo.com> (raw)
Hi all,
I'm using the libpq `PQgetvalue` function to get
specific results from my datase. Many of these
results are numeric types. Is there an internal
function in libpq that will convert the returned
string to an appropriate C-type based on the oid
values in src/include/catalog/pg_type.h?
Many thanks.
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: grahamwilsonca@yahoo.ca
Subject: Re: Converting returned string to C type
In-Reply-To: <20021128173849.1791.qmail@web14407.mail.yahoo.com>
References: <20021128173849.1791.qmail@web14407.mail.yahoo.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