Re: few more wait events to add to docs

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: few more wait events to add to docs
Дата
Msg-id 20190307135944.GB26628@paquier.xyz
обсуждение исходный текст
Ответ на Re: few more wait events to add to docs  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Thu, Mar 07, 2019 at 11:25:10AM +0900, Michael Paquier wrote:
> On Wed, Mar 06, 2019 at 11:08:12AM -0800, Jeremy Schneider wrote:
>> If anything, I think we might just want to add comments to
>> RegisterLWLockTranches() and lwlocknames.txt with links to the doc file
>> that needs to be updated whenever a new tranche is added.
>
> Yes, that would surely help.
>
>> Not sure the best place for a comment on SLRUs (is SimpleLruInit a good
>> place?)... but I'm kindof hopeful that we're not adding many more new
>> SLRUs anyway and that people would bias toward leveraging the buffer
>> cache when possible.
>
> A reference at the top of SimpleLruInit() sounds good to me.

Thinking more about that, a comment at the top of SimpleLruInit() and
RegisterLWLockTranches() are both good things.

So please find attached a patch which does the following things to
address this thread:
- Reorder the list of events in the Lock section in alphabetical order
(not LWLock!).
- Add the missing event entries, which is what Thomas has provided.
- Add more documentation to mention the doc updates.

Thoughts?
--
Michael

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Update does not move row across foreign partitions in v11
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Removed unused variable, openLogOff.