by Antoninus Twink <nospam@[EMAIL PROTECTED]
>
May 8, 2008 at 10:17 PM
On 8 May 2008 at 19:59, iavian wrote:
> #include "postgres.h"
> #include "fmgr.h"
[snip]
> pemsPg.c:1:22: postgres.h: No such file or directory
> pemsPg.c:2:18: fmgr.h: No such file or directory
These headers might be in subdirectories of your main system include
directory. For example,
#include "postgresql/postgres.h"
#include "postgresql/fmgr.h"
might work (or check the path on your system).
You should also consider using <...> instead of "..." for system-wide
headers, and client-side code should normally include postgres_fe.h
instead of postgres.h.