INT2OID, etc.

From: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
To: hackers(at)postgreSQL(dot)org
Subject: INT2OID, etc.
Date: 1998-02-27 04:32:45
Message-ID: m0y8HTa-00000oC@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I am enhancing my PyGreSQL 2.0 package and I wanted to determine the
types of returned fields. I tried using the manifest constans
INT2OID, INT4OID, FLOAT4OID, etc but these are defined in the
file src/include/catalog/pg_type.h which doesn't get installed
into the public include directory. Am I right in assuming that
external programs shouldn't use these values? Is there another
way to get what I want? Is it considered acceptable for interface
programs to use this header file? Inquiring minds want to know.

--
D'Arcy J.M. Cain <darcy(at){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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-02-27 04:45:24 Re: [HACKERS] INT2OID, etc.
Previous Message Joao Leao 1998-02-27 04:00:33 (no subject)