| От | Tom Lane |
|---|---|
| Тема | Re: bool: symbol name collision |
| Дата | |
| Msg-id | 3782.1273419324@sss.pgh.pa.us обсуждение |
| Ответ на | bool: symbol name collision (bryanh@giraffe-data.com (Bryan Henderson)) |
| Ответы |
Re: bool: symbol name collision
|
| Список | pgsql-bugs |
bryanh@giraffe-data.com (Bryan Henderson) writes:
> The interface header files for Postgres server extensions define "bool",
> but that name is commonly used by other parts of user code, including
> by standards (C99, C++). That causes, at best, compile failures.
> If Postgres has to define a boolean type in public header files, it should
> use a name that won't collide, like postgres_bool.
Sorry, this isn't going to happen. It would break far too much existing
code, and we consider building server extensions with C++ to be
unsupported anyway.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера