From: "D'Arcy" "J.M." Cain <darcy@druid.net>
To: tgl@sss.pgh.pa.us
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Field types (was Re: Return value of int)
Date: Mon, 3 May 1999 22:37:25 -0400 (EDT)
Message-ID: <m10eV5K-0000bIC@druid.net> (raw)
In-Reply-To: <28299.925775671@sss.pgh.pa.us>
Thus spake Tom Lane
> Hugh Lawson <hglawson@nr.infi.net> 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 <darcy@{druid|vex}.net> | 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.
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: darcy@druid.net, tgl@sss.pgh.pa.us
Subject: Re: [INTERFACES] Field types (was Re: Return value of int)
In-Reply-To: <m10eV5K-0000bIC@druid.net>
* 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