Update some more ObjectType switch statements to not have default
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-11-09T14:26:15Z
Lists: pgsql-hackers
Attachments
- 0001-Update-some-more-ObjectType-switch-statements-to-not.patch (text/plain) patch 0001
This arose during the review of another patch. We often omit the default case of a switch statement to allow the compiler to complain if an enum case has been missed. I found a few where that wasn't done yet, but it would make sense and would have found an omission in another patch.
Commits
-
Update some more ObjectType switch statements to not have default
- aca992040951 16.0 landed