Determining C type for a given OID - Mailing list pgsql-interfaces

From Graham Wilson
Subject Determining C type for a given OID
Date
Msg-id 20021129231832.61196.qmail@web14403.mail.yahoo.com
Whole thread Raw
Responses Re: Determining C type for a given OID  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-interfaces
Hi all,<br /><br />I'm using the libpq `PQgetvalue` function to get<br />specific results from my datase.  Many of
these<br/>results are numeric types.  Is there an internal<br />function in libpq that will convert the returned<br
/>stringto an appropriate C-type based on the oid<br />values in src/include/catalog/pg_type.h?<br /><br />Many
thanks.<br/><p><br /><hr size="1" />Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada
Personals</b></a><br/> 

pgsql-interfaces by date:

Previous
From: Mitch Vincent
Date:
Subject: Re: libpq / crypt / md5 question
Next
From: Bruce Momjian
Date:
Subject: Re: Determining C type for a given OID