Converting returned string to C type

From: Graham Wilson <grahamwilsonca(at)yahoo(dot)ca>
To: pgsql-admin(at)postgresql(dot)org
Subject: Converting returned string to C type
Date: 2002-11-28 17:38:49
Message-ID: 20021128173849.1791.qmail@web14407.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-admin by date

  From Date Subject
Next Message Gaetano Mendola 2002-11-28 17:55:49 Old post about "Poor performance... "
Previous Message Rajesh Kumar Mallah. 2002-11-28 15:27:20 http://developer.postgresql.org/beta.php