#include "postgres.h"
#include <string.h>
#include "fmgr.h"
/* by value */
PG_FUNCTION_INFO_V1(add_one);
Datum
add_one(PG_FUNCTION_ARGS)
{ int32 arg = PG_GETARG_INT32(0);
....
Best Regard
Eng. Salah Al Jubeh
Palestine Polytechnic University
College of Applied Science
Computer Science P.O. Box 198
Mobile:++97259369122 Tel:++97222254680
From: Bruce Momjian <bruce@momjian.us> To: salah jubeh <s_jubeh@yahoo.com> Cc: pgsql <pgsql-general@postgresql.org> Sent: Mon, July 18, 2011 10:58:19 PM Subject: Re: [GENERAL] Documentation issue
salah jubeh wrote: > Hello, > > In http://www.postgresql.org/docs/8.4/static/xfunc-c.html, there is a missing > include to the utils/geo_decls.h which leads to compilation errors. i.e #include > "utils/geo_decls.h" > needs to be added to the code.