From 28666bfb41981b2e085af7e3bfa333aea08c2880 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Tue, 20 Oct 2026 22:24:42 +0900 Subject: [PATCH v2 2/2] Fix slot names in the standby slot removal check The DROP DATABASE test in 035_standby_logical_decoding.pl created slots with the prefix "drop_db_" but checked for their removal using "drop_db". Sined names never existed, the checks passed even if the actual slots remained. Fix this by using the correct prefix when checking for slot removal. Backpatch to v16, where this testce the check was introduced. Backpatch-through: 16 --- src/test/recovery/t/035_standby_logical_decoding.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/recovery/t/035_standby_logical_decoding.pl b/src/test/recovery/t/035_standby_logical_decoding.pl index a9b1968a6e2..c5f73041566 100644 --- a/src/test/recovery/t/035_standby_logical_decoding.pl +++ b/src/test/recovery/t/035_standby_logical_decoding.pl @@ -930,7 +930,7 @@ is( $node_standby->safe_psql( 'f', 'database dropped on standby'); -check_slots_dropped('drop_db', $handle); +check_slots_dropped('drop_db_', $handle); is($node_standby->slot('otherslot')->{'slot_type'}, 'logical', 'otherslot on standby not dropped'); -- 2.56.0