Re: ERRCODE_T_R_DEADLOCK_DETECTED

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERRCODE_T_R_DEADLOCK_DETECTED
Дата
Msg-id 8491.1426819660@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ERRCODE_T_R_DEADLOCK_DETECTED  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: ERRCODE_T_R_DEADLOCK_DETECTED  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
>> Sure. It's always a balance. If you go to the extreme of your argument
>> every possible error gets one individual error code. But then error
>> handling gets too complex.

> I think the solution for this is assigning a unique id to each
> message.  This is already done in some commercial databases. They are
> pretty usefull for tech supports.

We already have file and line number recorded.
        regards, tom lane



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Superuser connect during smart shutdown
Следующее
От: Tom Lane
Дата:
Сообщение: Re: configure can't detect proper pthread flags