pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Graham Wilson <grahamwilsonca@yahoo.ca>
To: pgsql-interfaces@postgresql.org
Subject: Determining C type for a given OID
Date: Fri, 29 Nov 2002 18:18:32 -0500 (EST)
Message-ID: <20021129231832.61196.qmail@web14403.mail.yahoo.com> (raw)

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

view thread (2+ messages)  latest in thread

Message-ID: <20021129231832.61196.qmail@web14403.mail.yahoo.com>
Permalink:  ../20021129231832.61196.qmail@web14403.mail.yahoo.com/
Also on:    postgresql.org/message-id/20021129231832.61196.qmail@web14403.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: grahamwilsonca@yahoo.ca
  Subject: Re: Determining C type for a given OID
  In-Reply-To: <20021129231832.61196.qmail@web14403.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox