pgsql: Fix the unstable output of tests added by commit 8fccf75834. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Fix the unstable output of tests added by commit 8fccf75834.
Date
Msg-id E1kSEhr-0007Ya-7J@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix the unstable output of tests added by commit 8fccf75834.

The test cases added by that commit were trying to test the exact number of
times a particular transaction has spilled. However, that number can vary if
any background transaction (say by autovacuum) happens in parallel to the main
transaction. So let's not try to verify the exact count.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2050832d0d637358a376a99514071941aa93ed31

Modified Files
--------------
contrib/test_decoding/expected/stats.out | 20 +++++++++++---------
contrib/test_decoding/sql/stats.sql      | 12 +++++++-----
2 files changed, 18 insertions(+), 14 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Expand recursive query documentation
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Create ResultRelInfos later in InitPlan, index them by RT index.