[COMMITTERS]

2009-04-06 Thread eehab hamzeh
Dear Sir I am trying to build some functions using C language. these functions are mentioned in the postgresql documentation. the only function that are work are the one with int32 variable. the other function bring errors and are not working any body can give directions here are the cod

Re: [COMMITTERS]

2009-04-06 Thread eehab hamzeh
here are the code and the error , i compile them using vc++ 6 and VC++ 2008 and minGW the example below are for minGW THANKS #include "postgres.h" #include #include "fmgr.h" #ifdef PG_MODULE_MAGIC PG_MODULE_MAGIC; #endif /* by value */ PG_FUNCTION_INFO_V1(add_one); Da

[COMMITTERS]

2009-04-06 Thread eehab hamzeh
Hello I am trying to build some functions using C language. these functions are mentioned in the postgresql documentation. http://www.postgresql.org/docs/8.3/interactive/xfunc-c.html Datum add_one_float8(PG_FUNCTION_ARGS) { /* The macros for FLOAT8 hide its pass-by-reference nature.