Michael Paquier <michael(at)paquier(dot)xyz> writes:
> Could it be better to mention %20 in the error message? Say an
> addition like:
> "unexpected spaces found \"%s\", use percent-encoded spaces (%%20) instead"
+1. Also the grammar seems a bit off; how about
"unexpected spaces found in \"%s\", use percent-encoded spaces (%%20) instead"
regards, tom lane