As to how to redesign the error message is a bit confusing tome, it would be good to see the proposal code as well. The only concern from me is that the new error from newerversion is not compatible with the older versions, which may mattersmatters or doesn't match, I don't know.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных