X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 147AD5338F for ; Mon, 4 Apr 2005 22:00:15 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 63997-04 for ; Mon, 4 Apr 2005 21:00:07 +0000 (GMT) Received: from firewall.innovision.com (64-126-22-242.biztype2.everestkc.net [64.126.22.242]) by svr1.postgresql.org (Postfix) with ESMTP id BF249535B9 for ; Mon, 4 Apr 2005 22:00:03 +0100 (BST) Received: from [10.10.10.189] (unverified [10.10.10.189]) by innovision.com (SurgeMail 2.2g3) with ESMTP id 2304 for ; Mon, 04 Apr 2005 16:00:01 -0500 Message-ID: <4251AA64.7040909@innovision.com> Date: Mon, 04 Apr 2005 15:58:12 -0500 From: Marvin Bellamy User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "'pgsql-interfaces@postgresql.org'" Subject: libpq and referencing data type OIDs Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Server: High Performance Mail Server - http://surgemail.com X-Authenticated-User: mbellamy@innovision.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/19 X-Sequence-Number: 5435 I want to use postgres' datatype OID definitions and not use the literal Oid int values (I'm feeding them into PQexecParams()). But, it looks like these values are defined in a header not included by libpq-fe.h. When I try importing catalog/pg_type.h, I get a slew of missing data type errors. So, what's the appropriate way to reference OID data types? -- Marvin Keith Bellamy Software Engineer Innovision Corporation 913.438.3200