Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included

Поиск
Список
Период
Сортировка
От Julien Rouhaud
Тема Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included
Дата
Msg-id 20220130144912.gbhjum4yhrcjz4j6@jrouhaud
обсуждение исходный текст
Ответ на Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Remove extra includes of "access/xloginsert.h" when "access/xlog.h" is included