Mario Munda <mario(dot)munda(at)gmail(dot)com> writes:
> I've changed:
> #ifdef PG_MODULE_MAGIC
> PG_MODULE_MAGIC;
> #endif
> to:
> #define PG_MODULE_MAGIC ;
Uh, that turns it into a complete no-op. It should just be
PG_MODULE_MAGIC;
If you tried that and it didn't compile, that's proof that you're using
pre-8.2 header files ...
regards, tom lane