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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Aleksander Alekseev <aleksander@timescale.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-06-16T14:09:28Z
Lists: pgsql-hackers
Aleksander Alekseev <aleksander@timescale.com> writes:
> clangd indicates that certain #include's are redundant. Removing them
> will speed up the build process a bit.

The removals of <math.h> bother me a bit; I believe those used
to be necessary on some platforms.  Maybe nowadays everybody is
close enough to POSIX that you can safely extrapolate from what
clangd says on your own machine, but it's not zero-risk.

			regards, tom lane



Commits

  1. Remove unused #include's in src/backend/utils/adt/*