Re: [PATCH] Remove unused #include's in src/backend/commands/* - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: [PATCH] Remove unused #include's in src/backend/commands/*
Date
Msg-id aOaWWibezASiQV7L@nathan
Whole thread Raw
In response to Re: [PATCH] Remove unused #include's in src/backend/commands/*  (Aleksander Alekseev <aleksander@tigerdata.com>)
Responses Re: [PATCH] Remove unused #include's in src/backend/commands/*
List pgsql-hackers
On Wed, Oct 08, 2025 at 05:30:58PM +0300, Aleksander Alekseev wrote:
>> clangd indicates that certain #include's are redundant. Removing them
>> will speed up the build process a bit.
> 
> OK, cfbot tells me that touching collationcmds.c was a mistake. Here
> is a corrected patch.

Seems reasonable to me.  Most of these seem to be recent additions since
last year's round of IWYU commits.  Any reason to limit this to
src/backend/commands?  Why not tackle the whole tree at once?

-- 
nathan



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: plpython: Remove support for major version conflict detection
Next
From: Álvaro Herrera
Date:
Subject: Re: VACUUM (PARALLEL) option processing not using DefElem the way it was intended