From: | Vince Vielhaber <vev(at)michvhf(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] 6.5.0 - Overflow bug in AVG( ) |
Date: | 1999-06-17 10:47:11 |
Message-ID: | Pine.BSF.4.05.9906170643090.2473-100000@paprika.michvhf.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 16 Jun 1999, [iso-8859-1] Jos Soares wrote:
> PostgreSQL:
> ^^^^^^^^^^^
> prova=> select min(a), max(a), avg(a) from aa;
> min|max|avg
> ---+---+---
> 1| 2| 1
> (1 row)
>
>
Sybase - I'm guessing/ass-u-me ing it's around version 4.9
1> select min(a), max(a), avg(a) from aa
2> go
----------- ----------- -----------
1 2 1
(1 row affected)
1>
> > This would seem to give license for the result of AVG() on an int4 field
> > to be NUMERIC with a fraction part, but not FLOAT. But I suspect we
> > could get away with making it be FLOAT anyway. Anyone know what other
> > databases do?
Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev(at)michvhf(dot)com flame-mail: /dev/null
# include <std/disclaimers.h> TEAM-OS2
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================
From | Date | Subject | |
---|---|---|---|
Next Message | Vince Vielhaber | 1999-06-17 10:57:37 | Re: [HACKERS] mirroring problem (www.postgresql.org) |
Previous Message | Tatsuo Ishii | 1999-06-17 09:49:29 | Re: [HACKERS] (don't know who else to tell) 6.5 gets build on LinuxPPCR5 but fails a lot of regr. tests |