Re: Avoid circular header file dependency - Mailing list pgsql-hackers

From Bertrand Drouvot
Subject Re: Avoid circular header file dependency
Date
Msg-id aAyZ5Kf5NDAkILDM@ip-10-97-1-34.eu-west-3.compute.internal
Whole thread Raw
In response to Re: Avoid circular header file dependency  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Hi,

On Sat, Apr 26, 2025 at 04:42:56PM +0900, Michael Paquier wrote:
> This one is my fault,

I do feel guilty too...

> Splitting the values
> of the wait classes into their own header makes sense, but the header
> name wait_class_constants.h sounds a bit off.  Why not a simpler
> "wait_classes.h" that gets included by wait_event.h and
> wait_event_types.h?

Yeah, better. Done that way in the attached.

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment

pgsql-hackers by date:

Previous
From: Bertrand Drouvot
Date:
Subject: Re: Avoid circular header file dependency
Next
From: Peter Smith
Date:
Subject: Re: Logical Replication of sequences