Thread: pgsql: Add tests for logical replication spilled stats.

pgsql: Add tests for logical replication spilled stats.

From
Amit Kapila
Date:
Add tests for logical replication spilled stats.

Commit 9868167500 added a mechanism to track statistics corresponding to
the spilling of changes from ReorderBuffer but didn't add any tests.

Author: Amit Kapila and Sawada Masahiko
Discussion: https://postgr.es/m/CA+fd4k5_pPAYRTDrO2PbtTOe0eHQpBvuqmCr8ic39uTNmR49Eg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8fccf75834c11798e3b13a4cebedfb8ae683857a

Modified Files
--------------
contrib/test_decoding/Makefile           |   2 +-
contrib/test_decoding/expected/stats.out | 109 +++++++++++++++++++++++++++++++
contrib/test_decoding/sql/stats.sql      |  62 ++++++++++++++++++
3 files changed, 172 insertions(+), 1 deletion(-)


Re: pgsql: Add tests for logical replication spilled stats.

From
Amit Kapila
Date:
On Tue, Oct 13, 2020 at 8:32 AM Amit Kapila <akapila@postgresql.org> wrote:
>
> Add tests for logical replication spilled stats.
>

It seems these tests are not stable. I see failure in one of the BF
[1]. I am analyzing it and started a discussion on the pgsql-hackers
thread.

[1] - https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=florican&dt=2020-10-13%2003%3A07%3A25


-- 
With Regards,
Amit Kapila.