=?iso-8859-1?Q?J=FCrgen_Ulrich?= <juergen(dot)ulrich(at)etourism-austria(dot)at> writes:
> In function 'Pg_magic_func': 'PG_VERSION_NUM' undeclared (first use in
> function)
Perhaps you forgot to include postgres.h? That should always be the
very first #include in any backend module.
regards, tom lane