X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A8645D1B269 for ; Fri, 23 Jul 2004 11:13:01 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50959-06 for ; Fri, 23 Jul 2004 14:13:07 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id C0D56D1B209 for ; Fri, 23 Jul 2004 11:12:57 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i6NED0co019886; Fri, 23 Jul 2004 10:13:00 -0400 (EDT) To: olly@lfix.co.uk Cc: Terry Hampton , pgsql-admin@postgresql.org Subject: Re: HELP ! With Money type In-reply-to: <1090588843.1560.3.camel@braydb> References: <41010659.90908@limacorp.com> <1090588843.1560.3.camel@braydb> Comments: In-reply-to Oliver Elphick message dated "Fri, 23 Jul 2004 14:20:43 +0100" Date: Fri, 23 Jul 2004 10:13:00 -0400 Message-ID: <19885.1090591980@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/271 X-Sequence-Number: 14339 Oliver Elphick writes: > The Money type is deprecated. It uses a floating point representation, > which is not good for precise values. Actually the underlying storage is integer (int4), which is precise but has a very limited range. Terry is seeing overflows (which are evidently not being tested for :-(). regards, tom lane