Re: [HACKERS] Re: [QUESTIONS] Error on PostgreSQL agregate SUM() function??

From: "Kent S(dot) Gordon" <kgor(at)inetspace(dot)com>
To: scrappy(at)hub(dot)org
Cc: lockhart(at)alumni(dot)caltech(dot)edu, sferac(at)bo(dot)nettuno(dot)it, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [QUESTIONS] Error on PostgreSQL agregate SUM() function??
Date: 1998-02-11 19:27:54
Message-ID: 199802111927.NAA23608@soccer.inetspace.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>>> "scrappy" == The Hermit Hacker <scrappy(at)hub(dot)org> writes:

> On Wed, 11 Feb 1998, Thomas G. Lockhart wrote:
>> > PostgreSQL SUMs population column given -1523690296
>> (overflow) > While SOLID and MySQL gives 2771277000. > > Who
>> are right PostgreSQL or SOLID and MySQL ?
>>
>> Duh.

> Just to add in here...Oracle:

SQL> select sum(population) from nations;

> SUM(POPULATION) --------------- 2771277000

Oracle does all math in base 100 so it is not the same as using
integer.

SQL>

Kent S. Gordon
Architect
iNetSpace Co.
voice: (972)851-3494 fax:(972)702-0384 e-mail:kgor(at)inetspace(dot)com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tripp Lilley 1998-02-11 19:41:22 compiling extension functions? (fwd)
Previous Message Bruce Momjian 1998-02-11 19:12:14 Re: [HACKERS] Some cleanups/enhancements