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(-)
