pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: kaiq@realtyideas.com
Cc: pgsql-sql@postgreSQL.org
Cc: wieck@debis.com
Subject: Re: [SQL] avg() on numeric ?
Date: Fri, 17 Dec 1999 18:14:18 -0500
Message-ID: <11718.945472458@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.10.9912171638500.4620-100000@picasso.realtyideas.com>

<kaiq@realtyideas.com> writes:
> test=> select avg(quota) from salesreps;
> ERROR:  overflow on numeric ABS(value) >= 10^-1 for field with precision 0 scale 1723

> test=> select avg(sales) from salesreps;
> ERROR:  overflow on numeric ABS(value) >= 10^-1 for field with precision 0
> scale 1723

Hmm ... there were some similar bugs reported a couple of months ago,
and I thought Jan would've fixed them by now.  Jan, if you don't have
time to look at this, let me know and I'll see if I can do anything
with it.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <11718.945472458@sss.pgh.pa.us>
Permalink:  ../11718.945472458@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11718.945472458@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, kaiq@realtyideas.com, wieck@debis.com
  Subject: Re: [SQL] avg() on numeric ?
  In-Reply-To: <11718.945472458@sss.pgh.pa.us>
  References: <Pine.LNX.4.10.9912171638500.4620-100000@picasso.realtyideas.com> <11718.945472458@sss.pgh.pa.us>

* 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