Re: RFC: Logging plan of the running query

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: RFC: Logging plan of the running query
Дата
Msg-id 20220202.170421.204740592565249296.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: RFC: Logging plan of the running query  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Ответы Re: RFC: Logging plan of the running query  (torikoshia <torikoshia@oss.nttdata.com>)
Список pgsql-hackers
At Wed, 02 Feb 2022 16:49:57 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> So aren't we able to use ShareUpdateExclusive lock for that?
> 
> In the attached patch, ginInsertCleanup has an extra check for such
> stronger locks not being held.  At least "make check" doesn't cause
> the extra assertion to fire.

Actually, the discussion is a bit dubious. What we need really to
check is wheter such locks are not held on an index *elsewhere*.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: RFC: Logging plan of the running query
Следующее
От: Amit Langote
Дата:
Сообщение: obsolete reference to a SubPlan field