Re: [INTERFACES] Field types (was Re: Return value of int)
От | D'Arcy" "J.M." Cain |
---|---|
Тема | Re: [INTERFACES] Field types (was Re: Return value of int) |
Дата | |
Msg-id | m10eV5K-0000bIC@druid.net обсуждение исходный текст |
Ответ на | Re: [INTERFACES] Field types (was Re: Return value of int) (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: [INTERFACES] Field types (was Re: Return value of int)
|
Список | pgsql-interfaces |
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.
В списке pgsql-interfaces по дате отправления: