Re: further #include cleanup (IWYU)
Matthias van de Meent <boekewurm+postgres@gmail.com>
From: Matthias van de Meent <boekewurm+postgres@gmail.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-01-27T14:10:18Z
Lists: pgsql-hackers
On Wed, 6 Nov 2024 at 11:50, Peter Eisentraut <peter@eisentraut.org> wrote: > > Seeing no further comments (or any easy alternatives), I have committed > this last patch as is. I just noticed that the #define for MaxArraySize in utils/array.h uses MaxAllocSize without including the utils/memutils.h header. Is that on purpose and is the user expected to include both headers, or should utils/memutils.h be included in utils/array.h? Kind regards, Matthias van de Meent Neon (https://neon.tech)
Commits
-
Remove unused #include's from bin .c files
- ecb5af779877 18.0 landed
-
Remove unused #include's from contrib, pl, test .c files
- 9be4e5d293b5 18.0 landed
-
Remove unused #include's from backend .c files
- e18512c000ee 18.0 landed
-
Replace most usages of ntoh[ls] and hton[sl] with pg_bswap.h.
- 0ba99c84e8c7 11.0 cited