Thanks a lot Sebastian --- On Wed, 7/27/11, Sebastian Jaenicke <sjaenick@xxxxxxxxxxxxxxxxxxxxxxxx> wrote: > From: Sebastian Jaenicke <sjaenick@xxxxxxxxxxxxxxxxxxxxxxxx> > Subject: Re: error when compiling a c function > To: "Ioana Danes" <ioanasoftware@xxxxxxxx> > Cc: "PostgreSQL General" <pgsql-general@xxxxxxxxxxxxxx> > Received: Wednesday, July 27, 2011, 2:12 PM > On Wed, Jul 27, 2011 at 09:34:20AM > -0700, Ioana Danes wrote: > [..] > > #include "/usr/include/pgsql/server/postgres.h" > > #include "/usr/include/pgsql/server/fmgr.h" > > #include "postgres.h" > #include "fmgr.h" > > > #ifdef PG_MODULE_MAGIC > > #ifndef > > > PG_MODULE_MAGIC; > > #endif > > ...and compile with -I`pg_config --includedir-server`. > > - Sebastian > > -- > A: Maybe because some people are too annoyed by > top-posting. > Q: Why do I not get an answer to my question(s)? > A: Because it messes up the order in which people normally > read text. > Q: Why is top-posting such a bad thing? > -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general