Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> 2010/3/29 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
>> I think if it appeared to work before it was because the built-in
>> unnest() function was capturing the call.
> he uses 8.1. the bug is in "generate_series(1,>>>4<<<)"
If renaming the function makes it appear to work differently,
then there is another function of similar name in there somewhere.
I'm betting the server is not 8.1 after all.
regards, tom lane