Re: BUG #6238: ECPG converts "long long" to long on Windows

Поиск
Список
Период
Сортировка
От 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  (Michael Meskes <meskes@postgresql.org>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: BUG #6238: ECPG converts "long long" to long on Windows
Следующее
От: Sachin Srivastava
Дата:
Сообщение: Re: BUG #6255: Unable to Install (Binary, One Click Installer