Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id C57A81337BCA for ; Tue, 11 Jan 2011 12:03:56 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 11976-07 for ; Tue, 11 Jan 2011 16:03:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 37C411337B5C for ; Tue, 11 Jan 2011 12:03:48 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p0BG3gpC018642; Tue, 11 Jan 2011 11:03:42 -0500 (EST) To: Peter Eisentraut cc: Itagaki Takahiro , PostgreSQL Hackers Subject: Re: Fwd: [TESTERS] [TEST REPORT] 9.1Alpha3 Feature E.1.4.7.2 in release notes. In-reply-to: <1294748808.15734.0.camel@fsopti579.F-Secure.com> References: <4741.1294711809@sss.pgh.pa.us> <1294748808.15734.0.camel@fsopti579.F-Secure.com> Comments: In-reply-to Peter Eisentraut message dated "Tue, 11 Jan 2011 14:26:48 +0200" Date: Tue, 11 Jan 2011 11:03:42 -0500 Message-ID: <18641.1294761822@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/731 X-Sequence-Number: 178568 Peter Eisentraut writes: > On tis, 2011-01-11 at 12:30 +0900, Itagaki Takahiro wrote: >> If we won't to add accept integers for money, we should fix the docs. >> | integer and floating-point string literals >> | ~~~~~~~~~~~~~~~ >> Will it get better? > I think adding a cast from integer to money is probably quite > reasonable. The other way around, maybe not, or only an explicit cast. As near as I can tell, this entire thread started because someone thought that the reference to "numeric" in the release notes implied "any numerical type", not "the type named numeric". We explicitly rejected the idea of providing direct casts to/from floating point types, on the grounds of not wanting any roundoff error; so I don't think this is a point that should be revisited. Perhaps it would be sufficient to clarify the release-note item. regards, tom lane