KaiGai Kohei <kaigai(at)ak(dot)jp(dot)nec(dot)com> writes:
> In this case, is it unnecessary to expose the given argument in
> the error message (from security perspective), isn't it?
Yes, if all you care about is security and not usability, that looks
like a great solution. We're *not* doing it.
regards, tom lane