Cover additional errors and corner conditions in repack.c
Álvaro Herrera <alvherre@kurilemu.de>
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 <alvherre@kurilemu.de> Reviewed-by: Baji Shaik <baji.pgdev@gmail.com> Discussion: https://postgr.es/m/ahiwD29RNfVT4tjQ@alvherre.pgsql
Files
| Path | Change | +/− |
|---|---|---|
| contrib/test_decoding/expected/repack.out | modified | +50 −0 |
| contrib/test_decoding/sql/repack.sql | modified | +43 −0 |
| src/test/regress/expected/cluster.out | modified | +33 −54 |
| src/test/regress/sql/cluster.sql | modified | +28 −45 |
Discussion
- [PATCH] Improve REPACK (CONCURRENTLY) error messages for unsupported configurations 9 messages · 2026-05-27 → 2026-05-29