I wrote: > Bernd Helmle <maili...@oopsware.de> writes: >> Here is a patch that tries to address all these issues (including >> Andres' report). I've adjusted the error message and use ereport(), so >> it might be more useful if we deal with not just single byte letters.
> I'd like to get mamba back to green, so I'll take care of this And done. FYI, we actually have a standard practice for error messages that want to complain about a single character without assuming it's a single-byte character: ereport(ERROR, errcode(ERRCODE_INVALID_PARAMETER_VALUE), errmsg("invalid character in salt string: \"%.*s\"", pg_mblen(ep), ep)); regards, tom lane