RE: Remove unnecessary includes of system headers in header files
Shubham.Khanna@fujitsu.com <shubham.khanna@fujitsu.com>
From: "Shubham.Khanna@fujitsu.com" <Shubham.Khanna@fujitsu.com>
To: Peter Eisentraut <peter@eisentraut.org>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-12-01T10:51:39Z
Lists: pgsql-hackers
Hi Peter, I have reviewed the patches and also RUN the command, 'make check-world'. It is working fine. All test cases are passed successfully. Thanks and Regards, Shubham Khanna. -----Original Message----- From: Peter Eisentraut <peter@eisentraut.org> Sent: Friday, December 1, 2023 1:24 PM To: pgsql-hackers <pgsql-hackers@postgresql.org> Subject: Remove unnecessary includes of system headers in header files I noticed that some header files included system header files for no apparent reason, so I did some digging and found out that in a few cases the original reason has disappeared. So I propose the attached patches to remove the unnecessary includes.
Commits
-
Remove unnecessary include of <math.h>
- 457428d9e99b 17.0 landed
-
Remove unnecessary include of <sys/socket.h>
- da67cb0a4487 17.0 landed
-
Remove unnecessary includes of <signal.h>
- dffb2b478f54 17.0 landed