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