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

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Michael Meskes <meskes(at)postgresql(dot)org>, Jim Gray <jim(dot)gray(at)bull(dot)com>, Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #6238: ECPG converts "long long" to long on Windows
Date: 2011-10-19 10:17:31
Message-ID: 20111019101731.GA27614@hyperion.credativ.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Oct 16, 2011 at 04:15:01PM -0400, Tom Lane wrote:
> 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

Right.

We added that to make sure we support the same embedded sql sourcecode on all systems no matter if they have long long or not.

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
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2011-10-19 12:01:02 Re: BUG #6253: JDBC driver: getIndexInfo() returns quotes around quoted column names
Previous Message guenter abraham 2011-10-19 07:43:55 BUG #6261: 35.9. C-Language Functions