| От | Tom Lane |
|---|---|
| Тема | Re: boolean in C |
| Дата | |
| Msg-id | 10356.1247758976@sss.pgh.pa.us обсуждение |
| Ответ на | Re: boolean in C (Grzegorz Jaskiewicz <gj@pointblue.com.pl>) |
| Список | pgsql-hackers |
Grzegorz Jaskiewicz <gj@pointblue.com.pl> writes:
> On 16 Jul 2009, at 15:17, Tom Lane wrote:
>> That's hardly going to improve readability for anyone. Also, it will
>> flat out not work for the catalog struct declarations. When we say
>> "bool relhasindex;" the compiler had better think that that's a
>> one-byte field.
> Sure, but I would certainly hope, there's not too many places where
> you actually convert it from disc representation, to internal and vice
> versa.
We don't "convert" --- it's expected to be the same representation.
As for not too many of them, I think grepping for references to bool
catalog fields will show you differently ...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера