Re: [HACKERS] help wanted (fmgr.c)

2006-09-11 Thread Gevik Babakhani
Thank you for your reply. I found my bug in the code which made the function behave strangely. On Mon, 2006-09-11 at 14:23 +0530, Abhijit Menon-Sen wrote: > At 2006-09-11 10:25:22 +0200, [EMAIL PROTECTED] wrote: > > > > What are we testing to be NULL here? > > Do we expect str to changed at l

Re: [HACKERS] help wanted (fmgr.c)

2006-09-11 Thread Abhijit Menon-Sen
At 2006-09-11 10:25:22 +0200, [EMAIL PROTECTED] wrote: > > What are we testing to be NULL here? > Do we expect str to changed at line 1715 No. (Read the comment just above the function.) The code is like this, starting from line 1703: if (str == NULL && flinfo->fn_strict) return (Da

[HACKERS] help wanted (fmgr.c)

2006-09-11 Thread Gevik Babakhani
I am a little stuck of a question. In fmgr.c:1698, function "InputFunctionCall" at line 1718 /* Should get null result if and only if str is NULL */ if (str == NULL) { What are we testing to be NULL here? Do we expect str to changed at line 1715 ( result = FunctionCallInvoke(&fcinf