Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 2610D64FD25 for ; Sun, 14 Dec 2008 08:26:54 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95836-04 for ; Sun, 14 Dec 2008 08:26:50 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gauss.credativ.com (gauss.credativ.com [212.112.227.254]) by mail.postgresql.org (Postfix) with ESMTP id 7E7EE64FD07 for ; Sun, 14 Dec 2008 08:26:50 -0400 (AST) Received: from feivel (p54BBFE65.dip.t-dialin.net [84.187.254.101]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id EB4E777579; Sun, 14 Dec 2008 13:26:46 +0100 (CET) Received: by feivel (Postfix, from userid 1000) id 6C425D6CE6; Sun, 14 Dec 2008 13:26:46 +0100 (CET) Date: Sun, 14 Dec 2008 13:26:46 +0100 From: Michael Meskes To: Bosco Rama Cc: pgsql-interfaces@postgresql.org Subject: Re: gcc _Decimal types & ecpg Message-ID: <20081214122646.GB30170@feivel.credativ.de> Mail-Followup-To: Bosco Rama , pgsql-interfaces@postgresql.org References: <4941F4FB.1080902@boscorama.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4941F4FB.1080902@boscorama.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200812/16 X-Sequence-Number: 6833 On Thu, Dec 11, 2008 at 09:22:03PM -0800, Bosco Rama wrote: > I was wondering if ecpg from Postgresql 8.3.5 is able to handle the gcc4 _Decimal32, > _Decimal64 & _Decimal128 intrinsic data types as transparently as the other types? > Or do they just end up getting treated as simple C float/double? To be honest I haven't heard/thought about these datatypes before. Could you give me a pointer where to find more information? Are these types similar to our decimal/numeric types? The parser does not recognize these type keywords. So yes, atm they have to be treated as float/double. 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: michaelmeskes, Jabber: meskes@jabber.org Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!