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

Aleksander Alekseev <aleksander@timescale.com>

From: Aleksander Alekseev <aleksander@timescale.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-06-16T14:20:51Z
Lists: pgsql-hackers

Attachments

Hi Tom,

> 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.

Sounds good to me, let's keep <math.h>.

-- 
Best regards,
Aleksander Alekseev

Commits

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