Mario Munda <mario.munda@gmail.com> writes:
> I had to comment some includes out, or else i get some errors.
Perhaps you are compiling against an old or incomplete set of
Postgres header files?
> #ifdef PG_MODULE_MAGIC
> PG_MODULE_MAGIC;
> #endif
The problem with that coding is that it will silently not produce
a magic block if you are compiling against pre-8.2 Postgres headers.
If you remove the #ifdef protection does it still compile?
regards, tom lane