Re: [HACKERS] ERROR: Unable to identify an operator '=' for types 'numeric' and 'float8'
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Jan Wieck <wieck@debis.com>
Cc: Hiroshi Inoue <Inoue@tpf.co.jp>, Tom Lane <tgl@sss.pgh.pa.us>, Thomas Lockhart <lockhart@alumni.caltech.edu>, Michael Meskes <meskes@postgresql.org>, PostgreSQL Hacker <pgsql-hackers@postgresql.org>
Date: 2000-02-19T14:12:54Z
Lists: pgsql-hackers
On 2000-02-17, Jan Wieck mentioned: > IMHO a value floating around should be kept NUMERIC or in > it's string representation until it's finally clear where it > is dropped (int2/4/8, float4/8, numeric or return to client). Actually, the hierarchy float8, float4, numeric, int8, int4, int2 might just be right. The standard specifies that float<x> + numeric = float<y> (where perhaps x == y, not sure). On the other hand, it is also quite clear that a constant of the form 123.45 is a numeric literal. -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden