Converting returned string to C type - Mailing list pgsql-admin

From Graham Wilson
Subject Converting returned string to C type
Date
Msg-id 20021128173849.1791.qmail@web14407.mail.yahoo.com
Whole thread Raw
List pgsql-admin
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

pgsql-admin by date:

Previous
From: "yudha"
Date:
Subject: Select Multi Database;
Next
From: "Gaetano Mendola"
Date:
Subject: Old post about "Poor performance... "