| От | Tom Lane |
|---|---|
| Тема | Re: [BUGS] Breakage with VACUUM ANALYSE + partitions |
| Дата | |
| Msg-id | 6502.1462373742@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [BUGS] Breakage with VACUUM ANALYSE + partitions (Fabien COELHO <coelho@cri.ensmp.fr>) |
| Ответы |
Re: [BUGS] Breakage with VACUUM ANALYSE + partitions
|
| Список | pgsql-hackers |
Fabien COELHO <coelho@cri.ensmp.fr> writes:
>> There's not really a point in using an enum if you use neither the type
>> (which you shouldn't because if you or the bitmask value you have types
>> outside the range of the enum), nor the autogenerated numbers.
> I do not think that there is such a constraint in C, you can use the enum
> bitfield type, so you should.
I think you are failing to understand Andres' point. If you're going
to OR together some bits, the result is no longer a member of the enum
type, and the advantages that an enum would have immediately turn into
disadvantages.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера