From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "mdavis(at)sevainc(dot)com" <mdavis(at)sevainc(dot)com> |
Cc: | "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org>, "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: [SQL] Numeric and money |
Date: | 2001-01-03 20:36:49 |
Message-ID: | 17683.978554209@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general pgsql-interfaces pgsql-sql |
[ mail lists trimmed to something a tad more reasonable ]
Michael Davis <mdavis(at)sevainc(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Karel Zak | 2001-01-04 07:03:45 | Re: Numeric and money |
Previous Message | Barnes, Sandy (Sandra) | 2001-01-03 20:20:29 | V7.0 Error: OID ##### no longer exists in pg_database |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-01-03 21:24:43 | Re: user privileges for particular table |
Previous Message | Thomas T. Thai | 2001-01-03 20:35:12 | user privileges for particular table |
From | Date | Subject | |
---|---|---|---|
Next Message | Karel Zak | 2001-01-04 07:03:45 | Re: Numeric and money |
Previous Message | Cedar Cox | 2001-01-03 20:13:14 | Re: plpgsql help - nested loops |
From | Date | Subject | |
---|---|---|---|
Next Message | Najm Hashmi | 2001-01-03 21:05:17 | About Index |
Previous Message | Francis Solomon | 2001-01-03 19:00:54 | RE: [SQL] Numeric and money |