"Josh Berkus" <josh@agliodbs.com> writes:
> I was hoping that the error would be reproduceable with a simplified
> example; however, it looks like I'll have to supply you folks with the
> full function an tabledefs. I hesitated to do so, because the function
> involves doing a pattern-matching search based on a complex view linked
> to an IN search on a subtable. It's no doubt this combination of
> factors that's making things blow up.
Possibly, or it could be dependent on platform or configuration factors.
What platform/configure options/locale/etc are you using?
regards, tom lane