Received: from mercury.dnai.com (mercury.dnai.com [207.181.194.99]) by hub.org (8.9.2/8.9.1) with ESMTP id NAA05289 for ; Thu, 11 Mar 1999 13:42:54 -0500 (EST) (envelope-from mo@local2me.com) Received: from local2me.com (dnai-207-181-255-53.dialup.dnai.com [207.181.255.53]) by mercury.dnai.com (8.8.7/8.8.7) with ESMTP id KAA20629; Thu, 11 Mar 1999 10:42:14 -0800 (PST) Sender: michael@mercury.dnai.com Message-ID: <36E80EF2.634DB5DC@local2me.com> Date: Thu, 11 Mar 1999 18:44:02 +0000 From: Michael Olivier X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.35 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgreSQL.org CC: michael@local2me.com Subject: libpq PQftype() to comprehend types? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Can someone tell me how I can use PQftype() or some other mechanism to interpret a query result in terms of the data types of the columns? I need to be able to tell what data type a given column is. The 6.3.2 manual says PQftype() returns an internal coding -- is this defined in a header file I can access, or ... ? thanks, Michael