Re: [HACKERS] Numeric with '-' - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Numeric with '-'
Date
Msg-id 21717.951190496@sss.pgh.pa.us
Whole thread Raw
In response to RE: [HACKERS] Numeric with '-'  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Responses RE: [HACKERS] Numeric with '-'  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-hackers
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> Hmm,this may be worse than before.
> INSERT/UPDATE statements would lose precision without
> telling any error/warnings.

They didn't give any such warning before, either.  I doubt I've
made anything worse.

> Shouldn't decimal constants be distinguished from real constants ?

Why?  I don't see any particularly good reason for distinguishing
1234567890.1234567890 from 1.2345678901234567890e9.  (numeric_in
does accept both these days, BTW.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] pg_ctl man page
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: [HACKERS] Numeric with '-'