Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7B7F14765D0 for ; Thu, 28 Nov 2002 12:41:20 -0500 (EST) Received: from web14407.mail.yahoo.com (web14407.mail.yahoo.com [216.136.174.77]) by postgresql.org (Postfix) with SMTP id B0D744767B8 for ; Thu, 28 Nov 2002 12:38:43 -0500 (EST) Message-ID: <20021128173849.1791.qmail@web14407.mail.yahoo.com> Received: from [163.1.103.122] by web14407.mail.yahoo.com via HTTP; Thu, 28 Nov 2002 12:38:49 EST Date: Thu, 28 Nov 2002 12:38:49 -0500 (EST) From: Graham Wilson Subject: Converting returned string to C type To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/298 X-Sequence-Number: 6486 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