Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"
Дата
Msg-id 4BF42132.6000803@hogranch.com
обсуждение исходный текст
Ответ на Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-bugs
Michael Meskes wrote:
> On Wed, May 19, 2010 at 08:53:12AM +0000, Michael Enke wrote:
>
>> If you run it through ecpg, in the resulting c file
>> the variable test has type long on 64 bit system.
>> On 32 bit system it is long long.
>>
>
> Apparently when this code was written "long long" was 64bit, but it doesn't
> seem to be that way on 64bit systems nowadays. I will check to see if there is
> an easy fix. If it is fairly interruptive the fix won't make it into 9.0
> though.
>

I'm pretty sure it varies with the 64 bit system.  I believe on IBM
Power, LONG LONG *is* 64 bit.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"
Следующее
От: "Dmitry Funk"
Дата:
Сообщение: BUG #5466: Asia/Novosibirsk timezone problem