Skip site navigation (1) Skip section navigation (2)

Re: numeric precision when raising one numeric to another.

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,"Jim C(dot) Nasby" <decibel(at)decibel(dot)org>,Scott Marlowe <smarlowe(at)g2switchworks(dot)com>,pgsql-general(at)postgresql(dot)org
Subject: Re: numeric precision when raising one numeric to another.
Date: 2005-05-31 03:48:27
Message-ID: 20050531034827.GA3645@surnet.cl (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-patches
On Mon, May 30, 2005 at 11:29:48PM -0400, Bruce Momjian wrote:

> 	test=> select 12345678901234567890 / 123;
> 	      ?column?
> 	--------------------
> 	 100371373180768845
> 	(1 row)

Well, that's a bug, right?

-- 
Alvaro Herrera (<alvherre[a]surnet.cl>)
"Industry suffers from the managerial dogma that for the sake of stability
and continuity, the company should be independent of the competence of
individual employees."                                      (E. Dijkstra)

In response to

Responses

pgsql-patches by date

Next:From: Greg StarkDate: 2005-05-31 04:14:59
Subject: Re: Backslash handling in strings
Previous:From: Bruce MomjianDate: 2005-05-31 03:29:48
Subject: Re: numeric precision when raising one numeric to another.

pgsql-general by date

Next:From: Bruce MomjianDate: 2005-05-31 04:22:53
Subject: Re: numeric precision when raising one numeric to another.
Previous:From: Bruce MomjianDate: 2005-05-31 03:29:48
Subject: Re: numeric precision when raising one numeric to another.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group