public inbox for [email protected]
help / color / mirror / Atom feedFrom: Álvaro Herrera <[email protected]>
To: [email protected]
Subject: pgsql: Cover additional errors and corner conditions in repack.c
Date: Fri, 29 May 2026 10:38:48 +0000
Message-ID: <[email protected]> (raw)
Cover additional errors and corner conditions in repack.c
The coverage report shows that some error cases were not being tested;
add test cases for them.
While at it, move some recently added ones to the test_decoding suite:
the preventative check added in 43649b6a53e9 now causes servers with
wal_level=minimal to error out earlier than before.
Author: Álvaro Herrera <[email protected]>
Reviewed-by: Baji Shaik <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2670cc298f42cd7b1c426bf7ccfb0652d8e0b347
Modified Files
--------------
contrib/test_decoding/expected/repack.out | 50 ++++++++++++++++++
contrib/test_decoding/sql/repack.sql | 43 +++++++++++++++
src/test/regress/expected/cluster.out | 87 ++++++++++++-------------------
src/test/regress/sql/cluster.sql | 73 ++++++++++----------------
4 files changed, 154 insertions(+), 99 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: Cover additional errors and corner conditions in repack.c
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