Re: Avoid circular header file dependency

Поиск
Список
Период
Сортировка
От Bertrand Drouvot
Тема Re: Avoid circular header file dependency
Дата
Msg-id aAyZ5Kf5NDAkILDM@ip-10-97-1-34.eu-west-3.compute.internal
обсуждение исходный текст
Ответ на Re: Avoid circular header file dependency  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Avoid circular header file dependency
Список 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

Вложения

В списке pgsql-hackers по дате отправления: