Re: We should lazy-initialize the deadlock checker state memory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: We should lazy-initialize the deadlock checker state memory
Дата
Msg-id 1347009.1749168090@sss.pgh.pa.us
обсуждение исходный текст
Ответ на We should lazy-initialize the deadlock checker state memory  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> ISTM that we could move the call to InitDeadLockChecking() to the start of
> CheckDeadLock(), before it acquires all the locks. That'd require making it
> safe to call InitDeadLockChecking() multiple times, but that's obviously
> trivial.

Hmph.  Do we even need that to be persistent storage at all, rather
than just allocating it for the duration of CheckDeadLock?

            regards, tom lane



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