mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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 commitf5fc2f5b23
as per suggestion by Justin Pryzby. b. Bump the PGSTAT_FILE_FORMAT_ID as commitf5fc2f5b23
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
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user