Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 99BF39FBCAD for ; Tue, 17 Jul 2007 11:43:52 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 77751-10 for ; Tue, 17 Jul 2007 11:43:43 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id B3F9F9FBC34 for ; Tue, 17 Jul 2007 11:43:49 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l6HEhkw2022980; Tue, 17 Jul 2007 10:43:46 -0400 (EDT) To: =?iso-8859-1?Q?J=FCrgen_Ulrich?= cc: pgsql-admin@postgresql.org Subject: Re: compiling C Funktion for PostgreSQL In-reply-to: <200707170714.l6H7ECX4015357@smtp.uibk.ac.at> References: <200707170714.l6H7ECX4015357@smtp.uibk.ac.at> Comments: In-reply-to =?iso-8859-1?Q?J=FCrgen_Ulrich?= message dated "Tue, 17 Jul 2007 09:12:57 +0200" Date: Tue, 17 Jul 2007 10:43:45 -0400 Message-ID: <22979.1184683425@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/175 X-Sequence-Number: 26156 =?iso-8859-1?Q?J=FCrgen_Ulrich?= 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