translate referential integrity violation - Mailing list pgsql-general

From fabricio
Subject translate referential integrity violation
Date
Msg-id 005901c35540$71149cb0$8a02a8c0@DIALICTUS
Whole thread Raw
Responses Re: translate referential integrity violation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
 

Paulo Fabrício Puga Miranda
Desenvolvimento de TI

fabricio @icolony.com.br
(31) 9691-3494

 
 
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>".
 

   
    Avenida Afonso Pena, 4000 - 3o. andar - FUMSOFT - INSOFT-BH
    Bairro: Cruzeiro - CEP: 30130-009
    Belo Horizonte - MG - Brasil
    Telefone: +55 (31) 3287-9018¦ Fax: +55 (31) 3284-2857
 
Attachment

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Using YY-MM-DD date input
Next
From: Tom Lane
Date:
Subject: Re: Using YY-MM-DD date input