> 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"
Andrus.