Thread: Changing pgsql error messages...

Changing pgsql error messages...

From
Héctor Balanzar
Date:
Is there  way to change default event error messages thrown by the pgsql server
i.e. ERROR: <unnamed> referential integrity violation - key in table_1_name still referenced from table_2_name
 
 This for translation pourposes, avoiding writing code on the client side...??, else ..does the server throw a code number with the message..so I don´t have to manipulate the whole error string?? where can I find detailed  error description??
 
Gracias
Héctor Balanzar