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

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"
Дата
Msg-id 20100519172547.GB12938@hyperion.credativ.de
обсуждение исходный текст
Ответ на BUG #5464: ecpg on 64bit system converts "long long" to "long"  ("Michael Enke" <michael.enke@wincor-nixdorf.com>)
Ответы Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"
Список pgsql-bugs
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.

Michael

--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber meskes@jabber.org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: BUG #5465: dblink TCP connection hangs blocking translation from being terminated
Следующее
От: John R Pierce
Дата:
Сообщение: Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"