Re: Atomics in localbuf.c

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Atomics in localbuf.c
Дата
Msg-id CA+TgmoZBAhMjGhGffiEUQS0Ft_9pzXy4MOS+7HZaBQAw-haeiw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Atomics in localbuf.c  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Fri, Mar 6, 2020 at 2:06 PM Andres Freund <andres@anarazel.de> wrote:
> > Since local/shared buffers share the buffer header definition, we still have to use proper functions to access
> > the atomic variables.
>
> There's only one struct BufferDesc. We could separate them out /
> introduce a union or such. But that'd add some complexity / potential
> for mistakes too.

OK, got it. Thanks.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Some problems of recovery conflict wait events
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: recovery_target_action=pause with confusing hint