Re: [HACKERS] Re: [COMMITTERS] pgsql: Fix inadequacies in recentlyadded wait events

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] Re: [COMMITTERS] pgsql: Fix inadequacies in recentlyadded wait events
Дата
Msg-id CAB7nPqT+mq6YaTRuS1o4qHS9KG8z0cBxawqS=MfS9ebwhwmjRg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [COMMITTERS] pgsql: Fix inadequacies in recentlyadded wait events  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: [HACKERS] Re: [COMMITTERS] pgsql: Fix inadequacies in recentlyadded wait events  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On Wed, Aug 9, 2017 at 9:25 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> Tom Lane wrote:
>> I think generating whatever we can from a single authoritative file
>> is indeed a good idea.
>
> Yay.

Indeed.

>> But I had the impression that people also wanted to enforce a rule
>> about "only one use of each wait event name", which'd require a
>> checker script, no?  (I'm not really convinced that we need such a
>> rule, fwiw.)
>
> I'm not convinced of that, either.  Of the possible problems in the
> area, that seems the lesser one.

With a minimal maintenance effort we can be careful enough. I think
that a comment for example in pgstat.c about the usage uniqueness
would be an adapted answer.
-- 
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Cache lookup errors with functions manipulation object addresses
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: [HACKERS] Log LDAP "diagnostic messages"?