Re: some more include removal from headers - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: some more include removal from headers
Date
Msg-id 202604022213.ijh54ljfsfb7@alvherre.pgsql
Whole thread Raw
In response to Re: some more include removal from headers  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hello,

On 2026-Apr-02, Andres Freund wrote:

> On 2026-04-02 20:24:29 +0200, Álvaro Herrera wrote:

> > Looking at what else includes bufmgr.h, I think the minimum it can
> > reduced to is compiling 157 files when you change bufmgr.h, per the
> > patches attached here.  Most of them are direct inclusions, so reducing
> > further is tough.  The only one we could blame is xlogutils.h, but it
> > needs the ReadBufferMode enum, so in order to do better, we'd have to
> > split bufmgr.h in two.
> 
> I think you may have forgotten to attach the changes?

Hm, so I did.  Here they are.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Las mujeres son como hondas:  mientras más resistencia tienen,
 más lejos puedes llegar con ellas"  (Jonas Nightingale, Leap of Faith)

Attachment

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Initial COPY of Logical Replication is too slow
Next
From: Haibo Yan
Date:
Subject: Re: refactor ExecInitPartitionInfo