2010/3/29 Andrus <kobruleht2(at)hot(dot)ee>:
>> 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.
>
> I'm using
>
> "PostgreSQL 8.4.1, compiled by Visual C++ build 1400, 32-bit"
>
oh sorry, you are asked on 8.1 on yesterday
then you don't need custom unnest function.
regards
Pavel Stehule
> Andrus.
>