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

From: Hugh Lawson <hglawson(at)nr(dot)infi(dot)net>
To: pgsql-interfaces(at)postgreSQL(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [INTERFACES] Field types (was Re: Return value of int)
Date: 1999-05-04 14:55:00
Message-ID: Pine.LNX.4.04.9905041039210.2855-100000@cumquat.fruit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Mon, 3 May 1999, D'Arcy J.M. Cain wrote:

> 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.

Uhhh, <cringe>, <blush>, thanks for the patient education. Boy did I
ever miss the point! Programming this is over my head right now, so
I'm saving these msgs.

Hugh Lawson
Greensboro, North Carolina
hglawson(at)nr(dot)infi(dot)net

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message JT Kirkpatrick 1999-05-04 15:37:22 RE: [INTERFACES] error message
Previous Message SJ Wright 1999-05-04 13:29:20 postgres -> ms sql7 odbc driver