From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Mitch Vincent <mitch@venux.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] numeric question..
Date: Sun, 16 Jan 2000 18:14:04 +0100 (CET)
Message-ID: <Pine.LNX.4.21.0001152025360.386-100000@localhost.localdomain> (raw)
In-Reply-To: <1540.947891354@sss.pgh.pa.us>
On 2000-01-14, Tom Lane mentioned:
> "Mitch Vincent" <mitch@venux.net> writes:
> > I tried doing them in decimal(9,2) too and well, it added them as numeric
> > anyway -- I guess that's a dead end for a while?
>
> DECIMAL is just an alias for NUMERIC, as far as I know...
NUMERIC specifies the data type exact numeric, with the decimal precision
and scale specified by the <precision> and <scale>.
DECIMAL specifies the data type exact numeric, with the decimal scale
specified by the <scale> and the implementation-defined decimal precision
equal to or greater than the value of the specified <precision>.
Up to this day I'm wondering what exactly this means ...
--
Peter Eisentraut Sernanders väg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden
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-sql@postgresql.org
Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, mitch@venux.net
Subject: Re: [SQL] numeric question..
In-Reply-To: <Pine.LNX.4.21.0001152025360.386-100000@localhost.localdomain>
References: <1540.947891354@sss.pgh.pa.us> <Pine.LNX.4.21.0001152025360.386-100000@localhost.localdomain>
* 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