Re: further #include cleanup (IWYU)

From: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: further #include cleanup (IWYU)
Date: 2025-01-27 14:10:18
Message-ID: CAEze2Wi0DKuaGyXgkhTobZ6ZmULuDodS1OV0eu3r3Tv+F7CWiw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 6 Nov 2024 at 11:50, Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
>
> Seeing no further comments (or any easy alternatives), I have committed
> this last patch as is.

I just noticed that the #define for MaxArraySize in utils/array.h uses
MaxAllocSize without including the utils/memutils.h header. Is that on
purpose and is the user expected to include both headers, or should
utils/memutils.h be included in utils/array.h?

Kind regards,

Matthias van de Meent
Neon (https://neon.tech)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2025-01-27 14:10:21 Re: Add XMLNamespaces to XMLElement
Previous Message jian he 2025-01-27 14:05:06 Re: Statistics Import and Export