Re: [INTERFACES] Field types (was Re: Return value of int) - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: [INTERFACES] Field types (was Re: Return value of int)
Date
Msg-id 28299.925775671@sss.pgh.pa.us
Whole thread Raw
In response to Re: [INTERFACES] Field types (was Re: Return value of int)  (Hugh Lawson <hglawson@nr.infi.net>)
Responses Re: [INTERFACES] Field types (was Re: Return value of int)
List pgsql-interfaces
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?
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Hugh Lawson
Date:
Subject: Re: [INTERFACES] Field types (was Re: Return value of int)
Next
From: "D'Arcy" "J.M." Cain
Date:
Subject: Re: [INTERFACES] Field types (was Re: Return value of int)