On Tue, Jul 15, 2025 at 7:27 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > There are a lot of them, for sure.
It's *very* common for switch statements to have a "can't happen" elog(ERROR) as their default block. Many of these default blocks also initialize related variables to placate the compiler. > I'd be a bit worried about > creating a back-patching mine-field. But maybe these are all > in spots we're unlikely to touch? That seems like much less of a problem for a purely subtractive change such as this. -- Peter Geoghegan