Fix additional fallthrough warnings from clang

Peter Eisentraut <peter@eisentraut.org>

Commit: 3a63b76571ba253e2784ba34377cdcbdb8ad6796
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2026-02-23T06:40:19Z
Fix additional fallthrough warnings from clang

Clang warns if falling through to a case or default label that is
immediately followed by break, but GCC does
not (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91432).  (MSVC also
warns about the equivalent code in C++.)

This is in preparation for enabling fallthrough warnings on Clang.

Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/76a8efcd-925a-4eaf-bdd1-d972cd1a32ff%40eisentraut.org

Files

Discussion