Fix 051_effective_wal_level.pl on builds without injection points.
Masahiko Sawada <msawada@postgresql.org>
Author:
Masahiko Sawada <msawada@postgresql.org>
Date: 2026-05-27T22:52:30Z
Releases:
19 (unreleased)
Fix 051_effective_wal_level.pl on builds without injection points. Commit 2af1dc89282 placed the new "logical decoding disabled after REPACK (CONCURRENTLY)" check at the end of 051_effective_wal_level.pl. That placement assumed the logical slot "test_slot" no longer existed when the check ran, but the assumption only holds on builds with injection points: the earlier injection-point-driven tests drop "test_slot" as a side effect, while on builds without injection points the slot persists. When "test_slot" still exists, logical decoding remains enabled and the new check fails on those buildfarm members. Move the REPACK test earlier in the script, ensuring that the test starts with logical decoding disabled. Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de> Discussion: https://postgr.es/m/CAD21AoBmdmBQ-+Jga+jSKKq5OPGEP1pEjSJfRPT6MCwVHLD6og@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/recovery/t/051_effective_wal_level.pl | modified | +14 −14 |
Discussion
- effective_wal_level is not decreasing after using REPACK (CONCURRENTLY) 14 messages · 2026-05-21 → 2026-05-27