>How can we reduce this?
It would be better not to abuse "raise ...".
However, if you cannot alter the software to remove that "raise", use
client_min_messages=WARNING:
http://stream.boxwatch.ru/docs/9.4/static/runtime-config-logging.html#GUC-CLIENT-MIN-MESSAGES
Regards,
Vladimir Sitnikov