Re: [PATCH] Identify LWLocks in tracepoints

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: [PATCH] Identify LWLocks in tracepoints
Дата
Msg-id CAGRY4nwR=qCsdME8KxWjpF3taKW=ymOsMO=xCJey9wBxECxWDA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Identify LWLocks in tracepoints  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: [PATCH] Identify LWLocks in tracepoints
Список pgsql-hackers
On Thu, 29 Apr 2021 at 15:31, Peter Eisentraut
<peter.eisentraut@enterprisedb.com> wrote:
> > So if you could produce a separate patch that adds the
> > _ENABLED guards targeting PG14 (and PG13), that would be helpful.
>
> Here is a proposed patch for this.

LGTM.

Applies and builds fine on master and (with default fuzz) on
REL_13_STABLE. Works as expected.

This does increase the size of LWLockAcquire() etc slightly but since
it skips these function calls, and the semaphores are easily
predicted, I don't have any doubt it's a net win. +1 for merge.



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Replication slot stats misgivings
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [PATCH] Identify LWLocks in tracepoints