Re: Provide PID data for "cannot wait on a latch owned by another process" in latch.c

Поиск
Список
Период
Сортировка
Искать
От
Kyotaro Horiguchi
Тема
Re: Provide PID data for "cannot wait on a latch owned by another process" in latch.c
Дата
Msg-id
20230227.174810.462663414355965707.horikyota.ntt@gmail.com
Ответ на
Список
Дерево обсуждения
Provide PID data for "cannot wait on a latch owned by another process" in latch.c Michael Paquier <michael@paquier.xyz>
Re: Provide PID data for "cannot wait on a latch owned by another process" in latch.c Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Provide PID data for "cannot wait on a latch owned by another process" in latch.c Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Provide PID data for "cannot wait on a latch owned by another process" in latch.c Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Provide PID data for "cannot wait on a latch owned by another process" in latch.c Michael Paquier <michael@paquier.xyz>
Re: Provide PID data for "cannot wait on a latch owned by another process" in latch.c Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Provide PID data for "cannot wait on a latch owned by another process" in latch.c Michael Paquier <michael@paquier.xyz>
At Mon, 27 Feb 2023 09:20:39 +0900, Michael Paquier  wrote in 
> Hi all,
> 
> While doing something I should not have done, I have been able to
> trigger latch.c with the error of $subject.  Adding in the elog
> generated some information about the PID owning the latch and
> MyProcPid has made me understand immediately why I was wrong.  Would
> there be any objections to add more information in this case?
> 
> The attached patch does so.
> Thanks,

Please tidy up the followging sentence properly and natural but in a moderately formal  way, within the context of computer programs, and provide explanations for the individual changes you made.

+1 for adding that information, I'm afraid that MyProcId is not
necessary since it is displayed in log lines in most cases.  If you
want to display the both PIDs I suggest making them more distinctive.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center


В списке pgsql-hackers по дате отправления
От: Drouvot, Bertrand
Дата:
От: Hayato Kuroda (Fujitsu)
Дата:
FAQ