Re: error when compiling a c function

From: Ioana Danes <ioanasoftware(at)yahoo(dot)ca>
To: Sebastian Jaenicke <sjaenick(at)CeBiTec(dot)Uni-Bielefeld(dot)DE>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: error when compiling a c function
Date: 2011-07-27 18:38:42
Message-ID: 1311791922.26963.YahooMailClassic@web120107.mail.ne1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks a lot Sebastian

--- On Wed, 7/27/11, Sebastian Jaenicke <sjaenick(at)CeBiTec(dot)Uni-Bielefeld(dot)DE> wrote:

> From: Sebastian Jaenicke <sjaenick(at)CeBiTec(dot)Uni-Bielefeld(dot)DE>
> Subject: Re: [GENERAL] error when compiling a c function
> To: "Ioana Danes" <ioanasoftware(at)yahoo(dot)ca>
> Cc: "PostgreSQL General" <pgsql-general(at)postgresql(dot)org>
> 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?
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2011-07-27 18:46:56 Re: error when compiling a c function
Previous Message Sebastian Jaenicke 2011-07-27 18:12:51 Re: error when compiling a c function