Markus Schaber <[EMAIL PROTECTED]> writes: > Yes, and my question is whether it is easy and worth the effort. to add > that information (about the acutally offending subquery) to the message.
I'm not sure about localizing the subquery per se, but it might be possible to add a syntax pointer to the specific variable occurrence that it's complaining about. That would help at least somewhat in cases like this. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend