public inbox for [email protected]  
help / color / mirror / Atom feed
From: Fujii Masao <[email protected]>
To: [email protected]
Subject: pgsql: Add regression tests for pg_stat_progress_copy.tuples_skipped.
Date: Tue, 04 Mar 2025 15:00:19 +0000
Message-ID: <[email protected]> (raw)

Add regression tests for pg_stat_progress_copy.tuples_skipped.

This commit adds tests to verify that tuples_skipped in pg_stat_progress_copy
works as expected. While existing tests checked other fields, tuples_skipped
was previously untested.

This improves test coverage and ensures accurate tracking of skipped tuples.

Author: Jian He <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Reviewed-by: Josef Šimánek <[email protected]>
Discussion: https://postgr.es/m/CACJufxFazq-bfyhiO0KBojR=yOr84E25Rqf6mHB0Ow0KPidkKw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/91ecb5e0bc7f8373ec9ff7d188bfd0d45f13a333

Modified Files
--------------
src/test/regress/expected/copy.out | 11 ++++++++---
src/test/regress/sql/copy.sql      | 10 +++++++++-
2 files changed, 17 insertions(+), 4 deletions(-)



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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Add regression tests for pg_stat_progress_copy.tuples_skipped.
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox