Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 2FF96B5DC5D for ; Wed, 19 Oct 2011 07:17:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 12378-06; Wed, 19 Oct 2011 10:17:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from gauss.credativ.com (gauss.credativ.com [93.94.130.89]) by mail.postgresql.org (Postfix) with ESMTP id 9B6C4B5DC03; Wed, 19 Oct 2011 07:17:36 -0300 (ADT) Received: from hyperion (fw-front.credativ.com [87.193.134.200]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mme@gauss.credativ.com) by gauss.credativ.com (Postfix) with ESMTPSA id B4C761B42AD; Wed, 19 Oct 2011 12:17:31 +0200 (CEST) Received: by hyperion (Postfix, from userid 1000) id 64E14C80D2; Wed, 19 Oct 2011 12:17:31 +0200 (CEST) Date: Wed, 19 Oct 2011 12:17:31 +0200 From: Michael Meskes To: Tom Lane Cc: Magnus Hagander , Bruce Momjian , Alvaro Herrera , Robert Haas , Michael Meskes , Jim Gray , Pg Bugs Subject: Re: BUG #6238: ECPG converts "long long" to long on Windows Message-ID: <20111019101731.GA27614@hyperion.credativ.lan> References: <1317739247-sup-2334@alvh.no-ip.org> <201110052112.p95LCUk28021@momjian.us> <1554.1318796101@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1554.1318796101@sss.pgh.pa.us> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/170 X-Sequence-Number: 31440 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