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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Provide PID data for "cannot wait on a latch owned by another process" in latch.c
Дата
Msg-id Y/v3V8zpEvl0TPBZ@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>)
Список pgsql-hackers
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,
--
Michael

Вложения

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

Предыдущее
От: Melanie Plageman
Дата:
Сообщение: Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Doc update for pg_stat_statements normalization