Received: from druid.net (root@druid.net [198.96.119.226]) by hub.org (8.9.3/8.9.3) with ESMTP id WAA89797 for ; Mon, 3 May 1999 22:37:28 -0400 (EDT) (envelope-from darcy@druid.net) Received: from localhost (1441 bytes) by druid.net via sendmail with P:stdio/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) (ident using unix) id for ; Mon, 3 May 1999 22:37:26 -0400 (EDT) (Smail-3.2.0.104 1998-Nov-20 #4 built 1999-Apr-13) Message-Id: Subject: Re: [INTERFACES] Field types (was Re: Return value of int) In-Reply-To: <28299.925775671@sss.pgh.pa.us> from Tom Lane at "May 3, 1999 07:54:31 pm" To: tgl@sss.pgh.pa.us (Tom Lane) Date: Mon, 3 May 1999 22:37:25 -0400 (EDT) From: "D'Arcy" "J.M." Cain Cc: pgsql-interfaces@postgreSQL.org Reply-To: pgsql-interfaces@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL50 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Thus spake 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? Exactly. -- D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 424 2871 (DoD#0082) (eNTP) | what's for dinner.