From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | Michael Enke <michael(dot)enke(at)wincor-nixdorf(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #5464: ecpg on 64bit system converts "long long" to "long" |
Date: | 2010-05-19 17:25:47 |
Message-ID: | 20100519172547.GB12938@hyperion.credativ.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)jabber(dot)org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2010-05-19 17:34:42 | Re: BUG #5464: ecpg on 64bit system converts "long long" to "long" |
Previous Message | Magnus Hagander | 2010-05-19 15:17:19 | Re: BUG #5465: dblink TCP connection hangs blocking translation from being terminated |