Received: from sss.sss.pgh.pa.us (sss.pgh.pa.us [206.210.65.6]) by hub.org (8.9.3/8.9.3) with ESMTP id TAA73490 for ; Mon, 3 May 1999 19:56:06 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.sss.pgh.pa.us (8.9.1/8.9.1) with ESMTP id TAA28301; Mon, 3 May 1999 19:54:32 -0400 (EDT) To: hglawson@nr.infi.net cc: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] Field types (was Re: Return value of int) In-reply-to: Your message of Mon, 3 May 1999 17:45:21 -0400 (EDT) Date: Mon, 03 May 1999 19:54:31 -0400 Message-ID: <28299.925775671@sss.pgh.pa.us> From: Tom Lane Hugh Lawson writes: > I'm just getting started on fiddling with libpq. I am wondering why > this passage from man libpq doesn't address this issue? I'm not being > a smarty here, I just don't know the answer. > PQftype returns the field type associated with the > given field index. The integer returned is an > internal coding of the type. Unless I missed what D'Arcy was getting at, his point was that when PQftype tells you the field type is, say, 23, how do you know what that means? regards, tom lane