Re: BUG #6238: ECPG converts "long long" to long on Windows
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #6238: ECPG converts "long long" to long on Windows |
| Дата | |
| Msg-id | 1554.1318796101@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #6238: ECPG converts "long long" to long on Windows (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: BUG #6238: ECPG converts "long long" to long on Windows
|
| Список | pgsql-bugs |
Magnus Hagander <magnus@hagander.net> writes:
> Does ecpg have a different requirement from everything else, or are we just
> doing it differently in different places for no special reason?
I believe that in ecpg, the requirement is "support the data types
defined by the C compiler", that is we should support long long with
whatever width it actually has on the platform. Just about everyplace
else in PG, we want an integer of a known number of bits, and whether
that's long or long long is incidental. So it's not surprising to me
that this case got overlooked in the win64 patches.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера