Re: integer to float8 propagation (missing decimal) - Mailing list pgsql-hackers

From Zeugswetter Andreas SARZ
Subject Re: integer to float8 propagation (missing decimal)
Date
Msg-id 219F68D65015D011A8E000006F8590C6010A51C2@sdexcsrv1.sd.spardat.at
Whole thread Raw
List pgsql-hackers
I think the real problem right now is the lack of a decimal type.
An integer out of range could be converted to a decimal without
loosing precision. I think this would be the right thing to do.
This is how Informix and DB/2 do it (and Oracle I guess).
I personally think postgresql should not force the user to use
typecasts where it is not absolutely necessary.

Andreas

pgsql-hackers by date:

Previous
From: "Billy G. Allie"
Date:
Subject: The use of macros for heap_getattr. (clarification).
Next
From: Brano Vislocky
Date:
Subject: (no subject)