From: | "Vilches, Alejandro" <alejandro(dot)vilches(at)intel(dot)com> |
---|---|
To: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Trouble including pg_type.h |
Date: | 2015-09-03 17:35:40 |
Message-ID: | 9CE034E149417949A58AA9A4FA7E1C5584B0C2D9@ORSMSX109.amr.corp.intel.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Hi,
I'm having issues trying to include <catalog/pg_type.h> in my program. With the include paths correctly set, the compiler is able to find this file, but the issue is that this file is doing #include "catalog/genbki.h" (even though they're side by side), so the compiler is trying to look for "catalog/catalog/genbki.h".
For me, "pg_type.h" is located in: "/usr/pgsql-9.3/include/server/catalog". So besides adding "/usr/pgsql-9.3/include" to the include path, I've also added "/usr/pgsql-9.3/include/server", and in my program I'm doing #include <catalog/pg_type.h>.
I searched through the mailing list archives and I could only find one other related issue: http://www.postgresql.org/message-id/1314638642557-4746983.post@n5.nabble.com. However, this is not quite the issue I'm having.
Any help or tips you can give are greatly appreciated.
Thanks!
Alejandro
From | Date | Subject | |
---|---|---|---|
Next Message | Albe Laurenz | 2015-09-04 09:50:02 | Re: Trouble including pg_type.h |
Previous Message | Daniel Smedegaard Buus | 2015-08-31 08:54:58 | Triggers on bdr.bdr_nodes? |