Re: Report bytes and transactions actually sent downtream - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Report bytes and transactions actually sent downtream
Date
Msg-id CAA4eK1LWHAziEv1vYDJZcqR+=zXyyfF2daUCL72bYJkpzCjf4g@mail.gmail.com
Whole thread Raw
In response to Re: Report bytes and transactions actually sent downtream  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Report bytes and transactions actually sent downtream
List pgsql-hackers
On Tue, Mar 17, 2026 at 4:51 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> The trick with this patch is to make sure that all the relevant places
> where data is sent downstream are correctly incremented.
>

Right.

>  As far as I
> can see, things seem to be covered, but I cannot help but wonder if we
> are missing one or more places.  @Amit, do you feel a hole somewhere?
>

Yesterday, I raised a point related to this which is whether we want
to count messages like keep_alive, copy_done, or
PqReplMsg_PrimaryStatusUpdate? These don't contain the user decoded
data from WAL but some additional information between
publisher-subscriber required to ensure data is being applied.

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: SungJun Jang
Date:
Subject: Re: Row pattern recognition
Next
From: Zsolt Parragi
Date:
Subject: Re: pg_plan_advice