"Simon Riggs" <simon@2ndquadrant.com> writes:
> Seems like we could be slightly more friendly without too much bother:
Actually, rather than get into that sort of AI-complete project,
it strikes me that the most useful response is user education. There
ought to be a section in the plpgsql documentation explaining exactly
how the substitution works and showing a couple examples of the pitfalls.
I'll try to draft something up.
regards, tom lane