pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Bosco Rama <postgres@boscorama.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: gcc _Decimal types & ecpg
Date: Sun, 14 Dec 2008 13:26:46 +0100
Message-ID: <20081214122646.GB30170@feivel.credativ.de> (raw)
In-Reply-To: <4941F4FB.1080902@boscorama.com>
References: <4941F4FB.1080902@boscorama.com>

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!



view thread (3+ messages)  latest in thread

Message-ID: <20081214122646.GB30170@feivel.credativ.de>
Permalink:  ../20081214122646.GB30170@feivel.credativ.de/
Also on:    postgresql.org/message-id/20081214122646.GB30170@feivel.credativ.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: meskes@postgresql.org, postgres@boscorama.com
  Subject: Re: gcc _Decimal types & ecpg
  In-Reply-To: <20081214122646.GB30170@feivel.credativ.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox