diff options
author | Amit Kapila <akapila@postgresql.org> | 2021-04-19 09:02:47 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2021-04-19 09:02:47 +0530 |
commit | c64dcc7fee5f8a7941a4fd098a969de1f457cc79 (patch) | |
tree | 05de2354010156a47f86df6949d7ac2a382e2cf1 /doc/src | |
parent | 7ef8b52cf079ef3ace4575f7b97c2d6f80463b4f (diff) |
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 'doc/src')
-rw-r--r-- | doc/src/sgml/monitoring.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index c44d0875080..5cf083bb776 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -2722,9 +2722,9 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i </para> <para> Number of decoded transactions sent to the decoding output plugin for - this slot. This counter is used to maintain the top level transactions, - so the counter is not incremented for subtransactions. Note that this - includes the transactions that are streamed and/or spilled. + this slot. This counts toplevel transactions only, and is not incremented + for subtransactions. Note that this includes the transactions that are + streamed and/or spilled. </para></entry> </row> @@ -2733,10 +2733,10 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i <structfield>total_bytes</structfield><type>bigint</type> </para> <para> - Amount of decoded transactions data sent to the decoding output plugin + Amount of decoded transaction data sent to the decoding output plugin while decoding the changes from WAL for this slot. This can be used to gauge the total amount of data sent during logical decoding. Note that - this includes the data that is streamed and/or spilled. + this includes data that is streamed and/or spilled. </para> </entry> </row> |