Re: Report bytes and transactions actually sent downtream
Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
From: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
To: shveta malik <shveta.malik@gmail.com>
Cc: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>,
Ashutosh Sharma <ashu.coek88@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-09-24T11:58:44Z
Lists: pgsql-hackers
Attachments
- 0001-Report-output-plugin-statistics-in-pg_stat_-20250924.patch (text/x-patch) patch 0001
- 0002-Address-second-round-of-comments-from-Shvet-20250924.patch (text/x-patch) patch 0002
On Wed, Sep 24, 2025 at 2:38 PM shveta malik <shveta.malik@gmail.com> wrote: > > On Wed, Sep 24, 2025 at 12:47 PM Ashutosh Bapat > <ashutosh.bapat.oss@gmail.com> wrote: > > > > On Wed, Sep 24, 2025 at 10:12 AM shveta malik <shveta.malik@gmail.com> wrote: > > > > > > I tested the flows with > > > a) logical replication slot and get-changes. > > > b) filtered data flows: pub-sub creation with row_filters, 'publish' > > > options. I tried to verify plugin fields as compared to total_wal* > > > fields. > > > c) reset flow. > > > > > > While tests for a and c are present already. I don't see tests for b > > > anywhere when it comes to stats. Do you think we shall add a test for > > > filtered data using row-filter somewhere? > > > > Added a test in 028_row_filter. Please find it in the attached > > patchset. > > Test looks good. Thanks. Added to three more files. I think we have covered all the cases where filtering can occur. PFA patches. -- Best Wishes, Ashutosh Bapat