pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove assertion in pgstat_count_io_op()
Date: Tue, 14 Jan 2025 03:28:46 +0000
Message-ID: <E1tXXbh-001Ps3-P3@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d2181b321852d4dbea8a909d2f039ebdcbf0e009

Modified Files
--------------
src/backend/utils/activity/pgstat_io.c | 1 -
1 file changed, 1 deletion(-)



Message-ID: <E1tXXbh-001Ps3-P3@gemulon.postgresql.org>
Permalink:  ../E1tXXbh-001Ps3-P3@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tXXbh-001Ps3-P3@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove assertion in pgstat_count_io_op()
  In-Reply-To: <E1tXXbh-001Ps3-P3@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