Re: pgstat include expansion - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pgstat include expansion
Date
Msg-id aZLOdXS-L_D7Nvl6@paquier.xyz
Whole thread Raw
In response to Re: pgstat include expansion  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
On Mon, Feb 16, 2026 at 11:05:41AM +0530, Amit Kapila wrote:
> How about moving LogicalRepWorkerType to logicalworker.h as in the
> attached and then include that in pgstat.h? This requires few other
> adjustments as previously some of the includes were working indirectly
> via worker_internal.h.

Yep, this feels much cleaner.  I am not sure we really need to limit
LogicalRepWorkerType to be in an internal header knowing that it is
exposed in the pgstat layer.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Refactoring postmaster's code to cleanup after child exit
Next
From: Andy Pogrebnoi
Date:
Subject: Re: Lowering the default wal_blocksize to 4K