NunoACHenriques <nach@fct.unl.pt> writes:
> I should say that this error is a non-deterministic one. It happened
> once/twenty...
Is the data in the tables changing constantly? If you can repeat the
same query on the same data and get varying results, then we're
dealing with something odder than I suspected.
regards, tom lane