Re: bgwriter stats

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bgwriter stats
Дата
Msg-id 18235.1174343968@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: bgwriter stats  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-patches
Magnus Hagander <magnus@hagander.net> writes:
> Neil Conway wrote:
>> I don't think that's the right attitude to take, at all. Why not just
>> use a lock? It's not like the overhead will be noticeable.

> Probably, but none of the other code appears to take a lock out on it :)

Huh?  It doesn't use a lock for touching the checkpoint counters, but
that's OK because they're sig_atomic_t.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: bgwriter stats
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Win32 shmem