Thread: translate referential integrity violation

translate referential integrity violation

From
"fabricio"
Date:
Hello,
I would like to know how can I change the error messages from PostgreSQL, because I need to translate them to Portuguese, thanks!
Example:
this is the message: "ERROR: <table> referential integrity violation - key referenced from <table>",
this is what I need: "ERROR: <table> INTEGRIDADE REFERENCIAL VIOLADA <table>"