Re: Upgrading the backend's error-message infrastructure

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Upgrading the backend's error-message infrastructure
Дата
Msg-id Pine.LNX.4.44.0303181520350.2003-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: Upgrading the backend's error-message infrastructure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-interfaces
Tom Lane writes:

> Hmm.  I can't see any advantage to these over assigning our own codes;
> ours would have at least *some* mnemonic value, rather than being chosen
> completely at random ...

One advantage is that interfaces that are required to use these constants
would not need an internal translation table.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Error-message infrastructure: what about location in PL functions?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Upgrading the backend's error-message infrastructure