Trouble including pg_type.h
От | Vilches, Alejandro |
---|---|
Тема | Trouble including pg_type.h |
Дата | |
Msg-id | 9CE034E149417949A58AA9A4FA7E1C5584B0C2D9@ORSMSX109.amr.corp.intel.com обсуждение исходный текст |
Ответы |
Re: Trouble including pg_type.h
|
Список | 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
В списке pgsql-novice по дате отправления: