| From: | Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz> |
| Cc: | Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Report bytes and transactions actually sent downtream |
| Date: | 2026-03-13 05:09:40 |
| Message-ID: | CAE9k0P=_bpFEA0WVm1tQzzMFk6Xw_hjezejEzDgKmWKu2z=PCw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, Mar 13, 2026 at 7:39 AM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> On Thu, Mar 12, 2026 at 06:13:33PM +0530, Ashutosh Sharma wrote:
> > Could you please share your thoughts on this? Your inputs would help
> > us determine the next steps - whether we should proceed with renaming,
> > and if so, what names you would suggest, or whether we should leave
> > things as they are.
>
> FWIW, I still find the use of _wal_ in these fields rather confusing,
> and they add more inconsistencies with the internal structures of
> reorderbuffer.c. The goal is to add a field to track the number of
> bytes sent downstream. Hence, I would suggest to give up on the
> rename, add the new field, perhaps consider improving the docs for the
> existing fields to tell to which context these numbers refer to, then
> call it a day.
Thanks for sharing your thoughts, Michael, I had a similar idea in
mind. I'll go ahead and implement these changes and come up with the
new patches. Now since this is purely additive (new columns only), I'm
thinking a single patch might suffice, Or maybe, we could split it
into two: one that corrects the existing documentation and another
that introduces the new fields for displaying downstream bytes sent
and some other information related to this.
--
With Regards,
Ashutosh Sharma.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | jian he | 2026-03-13 05:48:26 | Re: CAST(... ON DEFAULT) - WIP build on top of Error-Safe User Functions |
| Previous Message | Fujii Masao | 2026-03-13 04:40:19 | Re: Exit walsender before confirming remote flush in logical replication |