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

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

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

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: [HACKERS] error messages not only English
Следующее
От: dg@illustra.com (David Gould)
Дата:
Сообщение: Re: [HACKERS] Current sources?