Re: [HACKERS] old-style handler problem

2004-12-12 Thread Christopher Kings-Lynne
I think you have to use the PG_RETURN_DATUM(rc) style macros... Sibtay Abbas wrote: hi everyone i ve added my own pl language in postgresql. i ve followed the process mentioned in the documentation. for the handler function i ve followed the following template PG_FUNCTION_INFO_V1(myhandler); Datum

Re: [HACKERS] old-style handler problem

2004-12-11 Thread Tom Lane
Sibtay Abbas [EMAIL PROTECTED] writes: for the handler function i ve followed the following template PG_FUNCTION_INFO_V1(myhandler); ^ Datum plsample_call_handler(PG_FUNCTION_ARGS) ^ Try spelling the function name consistently.

[HACKERS] old-style handler problem

2004-12-10 Thread Sibtay Abbas
hi everyone i ve added my own pl language in postgresql. i ve followed the process mentioned in the documentation. for the handler function i ve followed the following template PG_FUNCTION_INFO_V1(myhandler); Datum plsample_call_handler(PG_FUNCTION_ARGS) { Datum rv;