From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix test case added by commit f5fc2f5b23.
Date: Mon, 19 Apr 2021 03:43:29 +0000
Message-ID: <E1lYKor-0006Uc-Iu@gemulon.postgresql.org> (raw)
Fix test case added by commit f5fc2f5b23.
In the new test after resetting the stats, we were not waiting for the
stats message to be delivered. Also, we need to decode the results for
the new test, otherwise, it will show the old stats.
In passing,
a. Change docs added by commit f5fc2f5b23 as per suggestion by
Justin Pryzby.
b. Bump the PGSTAT_FILE_FORMAT_ID as commit f5fc2f5b23 changes the file
format of stats.
Reported-by: Tom Lane based on buildfarm reports
Author: Vignesh C, Justin Pryzby
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/20210319185247.ldebgpdaxsowiflw@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c64dcc7fee5f8a7941a4fd098a969de1f457cc79
Modified Files
--------------
contrib/test_decoding/expected/stats.out | 57 +++++++++++++++++++++-----------
contrib/test_decoding/sql/stats.sql | 18 ++++++----
doc/src/sgml/monitoring.sgml | 10 +++---
src/include/pgstat.h | 2 +-
4 files changed, 55 insertions(+), 32 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: akapila@postgresql.org
Subject: Re: pgsql: Fix test case added by commit f5fc2f5b23.
In-Reply-To: <E1lYKor-0006Uc-Iu@gemulon.postgresql.org>
References: <E1lYKor-0006Uc-Iu@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox