Remove assertion in pgstat_count_io_op()
commitd2181b321852d4dbea8a909d2f039ebdcbf0e009
authorMichael Paquier <michael@paquier.xyz>
Tue, 14 Jan 2025 03:19:51 +0000 (14 12:19 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 14 Jan 2025 03:19:51 +0000 (14 12:19 +0900)
tree2ab624a55ba06d39c72f0986fa6b4a7655bbc516
parentf92c854cf406a5ad34c9aa92416d578819704aa2
Remove assertion in pgstat_count_io_op()

An equivalent check is done with pgstat_is_ioop_tracked_in_bytes(), so
there is no need for this extra one.  Small cleanup that should have
been included in f92c854cf406.

Author: Nazir Bilal Yavuz
Reviewed-by: Bertrand Drouvot
Discussion: https://postgr.es/m/CAN55FZ0oqxBaaHAEsj=xFqkzE3n5P=3RA1V_igXwL-RV7QRzyw@mail.gmail.com
src/backend/utils/activity/pgstat_io.c