Skip site navigation (1) Skip section navigation (2)

Re: gcc _Decimal types & ecpg

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Bosco Rama <postgres(at)boscorama(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: gcc _Decimal types & ecpg
Date: 2008-12-14 12:26:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
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 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(at)jabber(dot)org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

In response to


pgsql-interfaces by date

Next:From: Bosco RamaDate: 2008-12-14 17:30:00
Subject: Re: gcc _Decimal types & ecpg
Previous:From: Michael MeskesDate: 2008-12-12 11:53:14
Subject: Re: deallocating prepared statements

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group