Skip site navigation (1) Skip section navigation (2)

Determining C type for a given OID

From: Graham Wilson <grahamwilsonca(at)yahoo(dot)ca>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Determining C type for a given OID
Date: 2002-11-29 23:18:32
Message-ID: (view raw or whole thread)
Lists: pgsql-interfaces
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


pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2002-11-29 23:34:07
Subject: Re: Determining C type for a given OID
Previous:From: Mitch VincentDate: 2002-11-29 19:11:54
Subject: Re: libpq / crypt / md5 question

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group