Re: [GENERAL] RE: [HACKERS] error messages not only English

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [GENERAL] RE: [HACKERS] error messages not only English
Дата
Msg-id Pine.LNX.3.95.980526204528.2407B-100000@retep.org.uk
обсуждение исходный текст
Ответ на Re: [GENERAL] RE: [HACKERS] error messages not only English  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] RE: [HACKERS] error messages not only English
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Current sources?