Update some more ObjectType switch statements to not have default
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 17 Nov 2022 06:08:44 +0000 (07:08 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 17 Nov 2022 06:12:37 +0000 (07:12 +0100)
commitaca992040951c7665f1701cd25d48808eda7a809
treea4cfe9165f0d399b49097711cef87382ff2e12c8
parentadaf34241acd83afaa45a8b614b6484a285da847
Update some more ObjectType switch statements to not have default

This allows the compiler to complain if a case has been missed.  In
these instances, the tradeoff of having to list a few unneeded cases
to silence the compiler seems better than the risk of actually missing
one.

Discussion: https://www.postgresql.org/message-id/flat/fce5c98a-45da-19e7-dad0-21096bccd66e%40enterprisedb.com
src/backend/catalog/objectaddress.c
src/backend/commands/dropcmds.c