Thread: PQftype, Oid, where is this documented?

PQftype, Oid, where is this documented?

From
"Robert A. Knop Jr."
Date:
Hi --

I'm using both the perl Pg interface and the C libpq-fe interface to
PostGreSQL (version 6.5).  Both of these have a "ftype" function which
retunrs the type of a field.  They are documented as returning an "Oid".
However, I haven't found where the Oid values themselves are docuemnted.

I could "reverse engineer" the thing by looking at what I get for various
data types and using that, but I'd feel more comfortable using documented
values.  Is there documentation anywhere that tells you how to interpret
the Oid you get back from PQftype()?

Thanks,

-Rob




Re: PQftype, Oid, where is this documented?

From
Tom Lane
Date:
"Robert A. Knop Jr." <rknop@panisse.lbl.gov> writes:
> Is there documentation anywhere that tells you how to interpret
> the Oid you get back from PQftype()?

pg_type ... complete for your installation, and correct by definition ;-)
        regards, tom lane