pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Fwd: [TESTERS] [TEST REPORT] 9.1Alpha3 Feature E.1.4.7.2 in release notes.
Date: Tue, 11 Jan 2011 11:03:42 -0500
Message-ID: <18641.1294761822@sss.pgh.pa.us> (raw)
In-Reply-To: <1294748808.15734.0.camel@fsopti579.F-Secure.com>
References: <AANLkTikg5S_ou3+N6abiwSGLfNxPDkmbsb1gYpMQcdBU@mail.gmail.com>
	<AANLkTimUuzn3DAaO1OLCijjjfcw0MXL-0HAvZKr9xRyV@mail.gmail.com>
	<AANLkTi=ZtTxhUdBZKqPMZdnZPt3AGVmtW9+iAdAXgtuJ@mail.gmail.com>
	<AANLkTi=dpt-nG2gax_kzWO+rjRyzk6fGsHT15JJDkFG2@mail.gmail.com>
	<4741.1294711809@sss.pgh.pa.us>
	<AANLkTinOtCfOwE0mnykssbq9hBUwXYY8h2fKvkapgZeH@mail.gmail.com>
	<1294748808.15734.0.camel@fsopti579.F-Secure.com>

Peter Eisentraut <peter_e@gmx.net> 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



view thread (10+ messages)  latest in thread

Message-ID: <18641.1294761822@sss.pgh.pa.us>
Permalink:  ../18641.1294761822@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18641.1294761822@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-testers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter_e@gmx.net, itagaki.takahiro@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: Fwd: [TESTERS] [TEST REPORT] 9.1Alpha3 Feature E.1.4.7.2 in release notes.
  In-Reply-To: <18641.1294761822@sss.pgh.pa.us>
  References: <AANLkTikg5S_ou3+N6abiwSGLfNxPDkmbsb1gYpMQcdBU@mail.gmail.com> <AANLkTimUuzn3DAaO1OLCijjjfcw0MXL-0HAvZKr9xRyV@mail.gmail.com> <AANLkTi=ZtTxhUdBZKqPMZdnZPt3AGVmtW9+iAdAXgtuJ@mail.gmail.com> <AANLkTi=dpt-nG2gax_kzWO+rjRyzk6fGsHT15JJDkFG2@mail.gmail.com> <4741.1294711809@sss.pgh.pa.us> <AANLkTinOtCfOwE0mnykssbq9hBUwXYY8h2fKvkapgZeH@mail.gmail.com> <1294748808.15734.0.camel@fsopti579.F-Secure.com> <18641.1294761822@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox