Re: Numeric and money - Mailing list pgsql-sql

From Tom Lane
Subject Re: Numeric and money
Date
Msg-id 17683.978554209@sss.pgh.pa.us
Whole thread Raw
In response to Numeric and money  (Michael Davis <mdavis@sevainc.com>)
List pgsql-sql
[ mail lists trimmed to something a tad more reasonable ]

Michael Davis <mdavis@sevainc.com> writes:
> From within Access, I can't update any table with a numeric data type
> because of the "select * from tst where amount = 1.1;" failure.

Yeah.  The problem here is the conflict between interpreting '1.1' as
a "float8" constant vs. interpreting it as a "numeric" constant.  In order
to fix this we need to settle on a better type promotion hierarchy among
the various numeric datatypes.  You can find past discussions of the
issue in the pghackers archives.  I made a proposal on 13-May-2000 that
I think was objected to by some people, though I don't recall exactly
why.

            regards, tom lane

pgsql-sql by date:

Previous
From: "Francis Solomon"
Date:
Subject: RE: Numeric and money
Next
From: Tom Lane
Date:
Subject: Re: sql99 / sql3