Re: compiling C Funktion for PostgreSQL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jürgen Ulrich <juergen(dot)ulrich(at)etourism-austria(dot)at>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: compiling C Funktion for PostgreSQL
Date: 2007-07-17 14:43:45
Message-ID: 22979.1184683425@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

=?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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andrew Sullivan 2007-07-17 15:28:49 Re: cache problem (v2)
Previous Message Ashish Karalkar 2007-07-17 13:30:17 Re: PgAgent Job Scheduling-Backup