Re: New statistics for WAL buffer dirty writes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New statistics for WAL buffer dirty writes
Дата
Msg-id 4973.1343765179@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New statistics for WAL buffer dirty writes  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: New statistics for WAL buffer dirty writes  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> IMHO, the way we have it now is kind of a mess.  SpinLockAcquire and
> SpinLockRelease are required to be CPU barriers, but they are not
> required to be compiler barriers.  If we changed that so that they
> were required to act as barriers of both flavors,

Since they are macros, how do you propose to do that exactly?

I agree that volatile-izing everything in the vicinity is a sucky
solution, but the last time we looked at this there did not seem to
be a better one.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: build postgresql on Mac OS X mountain lion with ossp-uuid
Следующее
От: David Fetter
Дата:
Сообщение: Re: proposal - assign result of query to psql variable