Re: ERRCODE_T_R_DEADLOCK_DETECTED

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: ERRCODE_T_R_DEADLOCK_DETECTED
Дата
Msg-id 20150320.113604.152657161127240193.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: ERRCODE_T_R_DEADLOCK_DETECTED  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: ERRCODE_T_R_DEADLOCK_DETECTED  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>> It is sad for users the only way to distinguish the conditions is by
>> looking at the error messages. They want to know the root of the
>> problem.
> 
> 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.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: configure can't detect proper pthread flags
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: get_actual_variable_range vs idx_scan/idx_tup_fetch