Re: [GENERAL] RE: [HACKERS] error messages not only English
Peter T Mount <psqlhack@retep.org.uk>
From: Peter T Mount <psqlhack@retep.org.uk>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: vadim@krs.ru, peter@maidstone.gov.uk, sferac@bo.nettuno.it, pgsql-hackers@postgresql.org
Date: 1998-05-26T20:12:09Z
Lists: pgsql-hackers, pgsql-general
On Tue, 26 May 1998, Bruce Momjian wrote: > > > > Why into C variables? You could have a function that returns the correct > > string for the error code, and have it default if it can't access the > > table. > > So we run an internal SQL query to get the error message from a table? > I guess we could do it, but the system state while in elog() is only > partial. You would have to do the longjump, reset, then ru the query. Ah, I see what you mean. The idea of using text files, could be a way round this. -- Peter T Mount peter@retep.org.uk or petermount@earthling.net Main Homepage: http://www.retep.org.uk ************ Someday I may rebuild this signature completely ;-) ************ Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk