Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included
Date
Msg-id 20220130144912.gbhjum4yhrcjz4j6@jrouhaud
Whole thread Raw
In response to Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List pgsql-hackers
Hi,

On Sun, Jan 30, 2022 at 06:52:48PM +0530, Bharath Rupireddy wrote:
> 
> Here's the v3 patch removing xloginsert.h from xlog.h and adding
> xloginsert.h in the required files.

+1, this approach is better.  In general it's better to increase the number of
include lines rather than having a few that includes everything, for
compilation performance.



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included
Next
From: Alvaro Herrera
Date:
Subject: Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included