aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2021-04-19 09:02:47 +0530
committerAmit Kapila <akapila@postgresql.org>2021-04-19 09:02:47 +0530
commitc64dcc7fee5f8a7941a4fd098a969de1f457cc79 (patch)
tree05de2354010156a47f86df6949d7ac2a382e2cf1 /src
parent7ef8b52cf079ef3ace4575f7b97c2d6f80463b4f (diff)
downloadpostgresql-c64dcc7fee5f8a7941a4fd098a969de1f457cc79.tar.gz
postgresql-c64dcc7fee5f8a7941a4fd098a969de1f457cc79.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/include/pgstat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h
index 2aeb3cded4d..5c5920b0b5f 100644
--- a/src/include/pgstat.h
+++ b/src/include/pgstat.h
@@ -744,7 +744,7 @@ typedef union PgStat_Msg
* ------------------------------------------------------------
*/
-#define PGSTAT_FILE_FORMAT_ID 0x01A5BCA1
+#define PGSTAT_FILE_FORMAT_ID 0x01A5BCA2
/* ----------
* PgStat_StatDBEntry The collector's data per database