Re: [PATCH] Remove unused #include's in src/backend/utils/adt/* - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Remove unused #include's in src/backend/utils/adt/*
Date
Msg-id 519159.1750082968@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] Remove unused #include's in src/backend/utils/adt/*  (Aleksander Alekseev <aleksander@timescale.com>)
List 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: No error checking when reading from file using zstd in pg_dump
Next
From: Daniel Gustafsson
Date:
Subject: Re: No error checking when reading from file using zstd in pg_dump