pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
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 14:26:48 +0200
Message-ID: <1294748808.15734.0.camel@fsopti579.F-Secure.com> (raw)
In-Reply-To: <AANLkTinOtCfOwE0mnykssbq9hBUwXYY8h2fKvkapgZeH@mail.gmail.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>

On tis, 2011-01-11 at 12:30 +0900, Itagaki Takahiro wrote:
> On Tue, Jan 11, 2011 at 11:10, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > Itagaki Takahiro <itagaki.takahiro@gmail.com> writes:
> >> It was reported from a tester that we don't have casts of money from/to integer
> >> types even though we have from/to numeric type.
> >
> > In most locales, the idea isn't sensible.
> 
> The documentation says:
> | Input is accepted in a variety of formats,
> | including integer and floating-point literals
> 
> 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.




view thread (10+ messages)  latest in thread

Message-ID: <1294748808.15734.0.camel@fsopti579.F-Secure.com>
Permalink:  ../1294748808.15734.0.camel@fsopti579.F-Secure.com/
Also on:    postgresql.org/message-id/1294748808.15734.0.camel@fsopti579.F-Secure.com

 · 

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: peter_e@gmx.net, itagaki.takahiro@gmail.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  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: <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>

* 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