Re: bgwriter stats

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: bgwriter stats
Дата
Msg-id 45FEEB42.8060708@samurai.com
обсуждение исходный текст
Ответ на bgwriter stats  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: bgwriter stats  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-patches
Magnus Hagander wrote:
> Anyway. Attached patch adds this to the bgwriter shared memory. Is it
> safe to do this, and then just have a regular function running in a
> normal backend pulling out the value and returning it to the user,
> without locking?
If the variable is an int64, I don't believe so: the architecture might
not implement atomic read/writes of int64 values.

-Neil


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: bgwriter stats
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: bgwriter stats