| От | Tom Lane |
|---|---|
| Тема | Re: partitioned tables and contrib/sepgsql |
| Дата | |
| Msg-id | 5595.1491399833@sss.pgh.pa.us обсуждение |
| Ответ на | Re: partitioned tables and contrib/sepgsql (Robert Haas <robertmhaas@gmail.com>) |
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> I argued before that we should migrate to stdbool.h by default, because
> it's only going to get more common. We already do so in a way for c++
> compilers...
Yeah, I was just thinking about that. The core problem though is that
we need the "bool" fields in the system catalog structs (or anyplace
else that it represents an on-disk bool datum) to be understood as
being 1 byte wide. I do not think we can assume that that's true of
every compiler's _Bool type. So we'd need some workaround for that.
There are probably other places such as isnull arrays where it'd be
wise to force the width to be 1 byte.
In any case, that's a research project that's not getting done for v10.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера