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

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [PATCH] Remove unused #include's in src/backend/utils/adt/*
Date: 2025-06-16 14:20:51
Message-ID: CAJ7c6TMLFdumZyVnWopVMzN6g=6OvhYr1pUjVooBfPZ45+MTDg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v2-0001-Remove-unused-include-s-in-src-backend-utils-adt.patch application/octet-stream 3.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yura Sokolov 2025-06-16 14:28:31 Re: Read-Write optimistic lock (Re: sinvaladt.c: remove msgnumLock, use atomic operations on maxMsgNum)
Previous Message Tom Lane 2025-06-16 14:20:07 Re: No error checking when reading from file using zstd in pg_dump