pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: hglawson@nr.infi.net
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [INTERFACES] Field types (was Re: Return value of int)
Date: Mon, 03 May 1999 19:54:31 -0400
Message-ID: <28299.925775671@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.04.9905031742110.745-100000@cumquat.fruit.com>

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



view thread (6+ messages)  latest in thread

Message-ID: <28299.925775671@sss.pgh.pa.us>
Permalink:  ../28299.925775671@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28299.925775671@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hglawson@nr.infi.net
  Subject: Re: [INTERFACES] Field types (was Re: Return value of int)
  In-Reply-To: <28299.925775671@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox