AW: Re: More on elog and error codes

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: Re: More on elog and error codes
Дата
Msg-id 11C1E6749A55D411A9670001FA687963368255@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: AW: Re: More on elog and error codes  (Peter Eisentraut <peter_e@gmx.net>)
RE: Re: More on elog and error codes  ("Otto A. Hirr, Jr." <otto.hirr@olabinc.com>)
Список pgsql-hackers
> > So we need some good error numbering scheme.  Any ideas?
> 
> SQL9x specifies some error codes, with no particular numbering scheme
> other than negative numbers indicate a problem afaicr.
> 
> Shouldn't we map to those where possible?

Yes, it defines at least a few dozen char(5) error codes. These are hierarchical, 
grouped into Warnings and Errors, and have room for implementation specific 
message codes.
Imho there is no room for inventing something new here, or only in addition.

Andreas


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: More on elog and error codes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [DOCS] Re: src/test/regress/README duplicates SGML material