further #include cleanup (IWYU)

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: further #include cleanup (IWYU)
Date: 2024-10-20 07:50:00
Message-ID: 0df1d5b1-8ca8-4f84-93be-121081bde049@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

This is a continuation of [0] ("backend *.c #include cleanup (IWYU)"),
which removed a bunch of unneeded #include's, found by the
include-what-you-use (IWYU) tool. I went through the rest of the code
and did similar cleanups. The patches are organized by code area, but
they are otherwise not separate. The first patch ("Remove unused
#include's from backend .c files") is mostly stuff that is new since
[0]. The remaining patches deal with code that wasn't touched by [0],
so a lot of the changes have similar patterns as [0].

[0]:
https://www.postgresql.org/message-id/flat/af837490-6b2f-46df-ba05-37ea6a6653fc%40eisentraut.org

Attachment Content-Type Size
0001-Remove-unused-include-s-from-backend-.c-files.patch text/plain 32.7 KB
0002-Remove-unused-include-s-from-contrib-.c-files.patch text/plain 31.6 KB
0003-Remove-unused-include-s-from-pl-.c-files.patch text/plain 6.8 KB
0004-Remove-unused-include-s-from-src-test-.c-files.patch text/plain 10.1 KB
0005-Remove-unused-include-s-from-bin-.c-files.patch text/plain 18.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2024-10-20 09:37:36 Re: further #include cleanup (IWYU)
Previous Message Andrey M. Borodin 2024-10-20 07:19:45 Re: Using read_stream in index vacuum