Re: [PATCH] Remove unused #include's in src/backend/commands/*

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Aleksander Alekseev <aleksander@tigerdata.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Nathan Bossart <nathandbossart@gmail.com>
Date: 2025-10-09T13:18:06Z
Lists: pgsql-hackers
Hi,

On 2025-10-09 16:08:38 +0300, Aleksander Alekseev wrote:
> > > OK, I tried include-what-you-use with a little post-processing script
> > > and the scope of work seems reasonable. I will submit the updated
> > > patch shortly.
> >
> > Here is the updated patch v3.
> 
> Apparently touching collationcmds.c, restricted_token.c and
> fe-auth-oauth.c was a mistake. Here is the corrected patch v4.

Clearly this approach is not bulletproof enough to actually yield something
reliable enough to actually be applied.


> From 81089fdf47561a4a68f80ebe238e8d5a452f7c0b Mon Sep 17 00:00:00 2001
> From: Aleksander Alekseev <aleksander@tigerdata.com>
> Date: Wed, 8 Oct 2025 15:58:38 +0300
> Subject: [PATCH v4] Remove unused #include's
> 
> Author: Aleksander Alekseev <aleksander@tigerdata.com>
> Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
> Reviewed-by: Andres Freund <andres@anarazel.de>

I've not reviewed this.

Greetings,

Andres Freund