Jeff Davis <pgsql@j-davis.com> writes:
> Looking at the documentation, it appears that all of the server
> encodings represent 7-bit ascii characters using the same 7-bit ascii
> representation. Is that true?
Correct. We only support ASCII-superset encodings, both for frontend
and backend.
Limiting NOTIFY payloads to 7-bit would definitely avoid the issue.
The question is if that's more of a pain than a benefit.
regards, tom lane