| From: | "D'Arcy" "J(dot)M(dot)" Cain <darcy(at)druid(dot)net> |
|---|---|
| To: | tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane) |
| Cc: | pgsql-interfaces(at)postgreSQL(dot)org |
| Subject: | Re: [INTERFACES] Field types (was Re: Return value of int) |
| Date: | 1999-05-04 02:37:25 |
| Message-ID: | m10eV5K-0000bIC@druid.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
Thus spake Tom Lane
> Hugh Lawson <hglawson(at)nr(dot)infi(dot)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(at){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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel PaJaSoft Janousek | 1999-05-04 06:40:17 | Re: [INTERFACES] Error linking C++ code. |
| Previous Message | Tom Lane | 1999-05-03 23:54:31 | Re: [INTERFACES] Field types (was Re: Return value of int) |