Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id AE473475CE5 for ; Fri, 29 Nov 2002 18:18:31 -0500 (EST) Received: from web14403.mail.yahoo.com (web14403.mail.yahoo.com [216.136.174.60]) by postgresql.org (Postfix) with SMTP id 70B16475C98 for ; Fri, 29 Nov 2002 18:18:30 -0500 (EST) Message-ID: <20021129231832.61196.qmail@web14403.mail.yahoo.com> Received: from [163.1.103.122] by web14403.mail.yahoo.com via HTTP; Fri, 29 Nov 2002 18:18:32 EST Date: Fri, 29 Nov 2002 18:18:32 -0500 (EST) From: Graham Wilson Subject: Determining C type for a given OID To: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-176220139-1038611912=:53804" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/161 X-Sequence-Number: 3409 --0-176220139-1038611912=:53804 Content-Type: text/plain; charset=us-ascii 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! Yahoo! Canada Personals --0-176220139-1038611912=:53804 Content-Type: text/html; charset=us-ascii 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! Yahoo! Canada Personals
--0-176220139-1038611912=:53804--