Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 3ADE44765B0 for ; Thu, 30 May 2002 20:04:01 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 5F95B4762EA for ; Thu, 30 May 2002 19:59:39 -0400 (EDT) Received: from [66.219.92.2] (HELO chocolate-mousse) by davinci.ethosmedia.com (CommuniGate Pro SMTP 3.5.9) with ESMTP id 1494900; Thu, 30 May 2002 16:59:40 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Tom Lane Subject: Re: Math Huh? Date: Thu, 30 May 2002 16:59:43 -0700 X-Mailer: KMail [version 1.4] Cc: pgsql-sql@postgresql.org References: <200205301629.26161.josh@agliodbs.com> <11059.1022802214@sss.pgh.pa.us> In-Reply-To: <11059.1022802214@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205301659.43775.josh@agliodbs.com> X-Archive-Number: 200205/322 X-Sequence-Number: 7957 Tom, > (yawn) int4 overflow. Use float or numeric if you want overflow > robustness... Shouldn't it give me an error? This does: SELECT (255^4)::INT4 --=20 -Josh Berkus ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco