Justin Pryzby <pryzby(at)telsasoft(dot)com> writes:
> I think it's somewhat confusing that there's two callbacks.
> The first one applies only during typinput/typreceive.
> I guess the 2nd one should say that they're printed "in *future errors".
I adjusted the comments to make this a bit clearer, and pushed it.
regards, tom lane