Re: further #include cleanup (IWYU) - Mailing list pgsql-hackers

From Matthias van de Meent
Subject Re: further #include cleanup (IWYU)
Date
Msg-id CAEze2Wi0DKuaGyXgkhTobZ6ZmULuDodS1OV0eu3r3Tv+F7CWiw@mail.gmail.com
Whole thread Raw
In response to Re: further #include cleanup (IWYU)  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: further #include cleanup (IWYU)
List pgsql-hackers
On Wed, 6 Nov 2024 at 11:50, Peter Eisentraut <peter@eisentraut.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)



pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: Statistics Import and Export
Next
From: Pavel Stehule
Date:
Subject: Re: Add XMLNamespaces to XMLElement