Re: [GENERAL] RE: [HACKERS] error messages not only English
Bruce Momjian <maillist@candle.pha.pa.us>
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: psqlhack@retep.org.uk (Peter T Mount)
Cc: vadim@krs.ru, peter@maidstone.gov.uk, sferac@bo.nettuno.it, pgsql-hackers@postgreSQL.org
Date: 1998-05-26T18:18:14Z
Lists: pgsql-hackers, pgsql-general
> > 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. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)