Re: Remove unnecessary includes of system headers in header files

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: "Shubham(dot)Khanna(at)fujitsu(dot)com" <Shubham(dot)Khanna(at)fujitsu(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove unnecessary includes of system headers in header files
Date: 2023-12-04 05:42:17
Message-ID: 746c9b76-f1bf-4d51-8a28-2261c0c2e25d@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 01.12.23 11:51, Shubham(dot)Khanna(at)fujitsu(dot)com wrote:
> 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.

committed

>
> Thanks and Regards,
> Shubham Khanna.
>
> -----Original Message-----
> From: Peter Eisentraut <peter(at)eisentraut(dot)org>
> Sent: Friday, December 1, 2023 1:24 PM
> To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-12-04 05:46:29 Re: Use PGAlignedBlock instead of "char buf[BLCKSZ]" in more places
Previous Message Michael Paquier 2023-12-04 05:26:48 Should REINDEX be listed under DDL?