Re: BUG #5464: ecpg on 64bit system converts "long long" to "long" - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"
Date
Msg-id 20100519172547.GB12938@hyperion.credativ.de
Whole thread Raw
In response to BUG #5464: ecpg on 64bit system converts "long long" to "long"  ("Michael Enke" <michael.enke@wincor-nixdorf.com>)
Responses Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"  (John R Pierce <pierce@hogranch.com>)
List 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 by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: BUG #5465: dblink TCP connection hangs blocking translation from being terminated
Next
From: John R Pierce
Date:
Subject: Re: BUG #5464: ecpg on 64bit system converts "long long" to "long"