pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedPQftype, Oid, where is this documented?
2+ messages / 2 participants
[nested] [flat]
* PQftype, Oid, where is this documented?
@ 2001-01-24 21:10 Robert A. Knop Jr. <rknop@panisse.lbl.gov>
2001-01-26 05:16 ` Re: PQftype, Oid, where is this documented? Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Robert A. Knop Jr. @ 2001-01-24 21:10 UTC (permalink / raw)
To: pgsql-interfaces
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: PQftype, Oid, where is this documented?
2001-01-24 21:10 PQftype, Oid, where is this documented? Robert A. Knop Jr. <rknop@panisse.lbl.gov>
@ 2001-01-26 05:16 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2001-01-26 05:16 UTC (permalink / raw)
To: Robert A. Knop Jr. <rknop@panisse.lbl.gov>; +Cc: pgsql-interfaces
"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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-01-26 05:16 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-24 21:10 PQftype, Oid, where is this documented? Robert A. Knop Jr. <rknop@panisse.lbl.gov>
2001-01-26 05:16 ` Tom Lane <tgl@sss.pgh.pa.us>
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