Re: error when compiling a c function

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

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 Ioana Danes 2011-07-27 18:38:42 Re: error when compiling a c function
Previous Message Jaime Casanova 2011-07-27 17:47:03 Re: repmgr problem with registering standby