Update some more ObjectType switch statements to not have default

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Update some more ObjectType switch statements to not have default
Дата
Msg-id fce5c98a-45da-19e7-dad0-21096bccd66e@enterprisedb.com
обсуждение исходный текст
Список pgsql-hackers
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.
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Reid Thompson
Дата:
Сообщение: Re: Add tracking of backend memory allocated to pg_stat_activity
Следующее
От: "Imseih (AWS), Sami"
Дата:
Сообщение: Call lazy_check_wraparound_failsafe earlier for parallel vacuum