Re: [INTERFACES] Field types (was Re: Return value of int)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: hglawson(at)nr(dot)infi(dot)net
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Field types (was Re: Return value of int)
Date: 1999-05-03 23:54:31
Message-ID: 28299.925775671@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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?

regards, tom lane

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message D'Arcy J.M. Cain 1999-05-04 02:37:25 Re: [INTERFACES] Field types (was Re: Return value of int)
Previous Message Hugh Lawson 1999-05-03 21:45:21 Re: [INTERFACES] Field types (was Re: Return value of int)