6.5.0 - Overflow bug in AVG( )

From: "Gene Sokolov" <hook(at)aktrad(dot)ru>
To: <pgsql-hackers(at)postgreSQL(dot)org>
Subject: 6.5.0 - Overflow bug in AVG( )
Date: 1999-06-16 06:41:39
Message-ID: 18a101beb7c3$4a0aa570$0d8cdac3@aktrad.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

% psql test1
Welcome to the POSTGRESQL interactive sql monitor:
Please read the file COPYRIGHT for copyright terms of POSTGRESQL
[PostgreSQL 6.5.0 on i386-unknown-freebsd3.2, compiled by gcc 2.7.2.1]

type \? for help on slash commands
type \q to quit
type \g or terminate with semicolon to execute query
You are currently connected to the database: test1

test1=> select count(*), max("ID"), min("ID"), avg("ID") from "ItemsBars";
count| max| min| avg
------+-------+-----+----
677719|3075717|61854|-251
(1 row)

Overflow, perhaps?

Gene Sokolov.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message ZEUGSWETTER Andreas IZ5 1999-06-16 08:09:44 Re: [HACKERS] Q: RI and isolevels
Previous Message Chris Bitmead 1999-06-16 06:11:37 Re: [HACKERS] Postgres mailing lists