Re: Remove unnecessary includes of system headers in header files

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove unnecessary includes of system headers in header files
Date: 2023-12-02 08:39:05
Message-ID: 7d90fbbb-31a9-49ac-8cd0-d96296fa3372@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 01.12.23 17:41, Tom Lane wrote:
> Peter Eisentraut <peter(at)eisentraut(dot)org> writes:
>> 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.
>
> Seems generally reasonable. Have you checked that headerscheck and
> cpluspluscheck are happy?

Yes, I ran it through Cirrus, which includes those checks.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2023-12-02 14:06:29 Is WAL_DEBUG related code still relevant today?
Previous Message John Naylor 2023-12-02 08:35:24 Re: Change GUC hashtable to use simplehash?