From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | Antonin Houska <ah(at)cybertec(dot)at>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Atomics in localbuf.c |
Date: | 2020-03-09 15:59:28 |
Message-ID: | CA+TgmoZBAhMjGhGffiEUQS0Ft_9pzXy4MOS+7HZaBQAw-haeiw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Mar 6, 2020 at 2:06 PM Andres Freund <andres(at)anarazel(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2020-03-09 16:03:13 | Re: recovery_target_action=pause with confusing hint |
Previous Message | Fujii Masao | 2020-03-09 15:57:52 | Re: Some problems of recovery conflict wait events |