Re: division by zero - Mailing list pgsql-general

From Pam Wampler
Subject Re: division by zero
Date
Msg-id 2E4528861499D41199D200A0C9B15BC0023E2851@FRISTX
Whole thread Raw
In response to division by zero  (Eric B.Ridge <ebr@tcdi.com>)
Responses Re: division by zero
List pgsql-general
mcs=# select 1/0;
ERROR:  floating point exception! The last floating point operation either
exceeded legal ranges or was a divide by zero
mcs=# select version();
                               version
---------------------------------------------------------------------
 PostgreSQL 7.2.1 on i386-portbld-freebsd4.5, compiled by GCC 2.95.3
(1 row)



-----Original Message-----
From: Fernando Schapachnik [mailto:fernando@mecon.gov.ar]
Sent: Friday, March 07, 2003 3:09 PM
To: Tom Lane
Cc: Eric B. Ridge; pgsql-general@postgresql.org
Subject: Re: [GENERAL] division by zero


En un mensaje anterior, Tom Lane escribió:
> Can anyone confirm whether the error shows up on other BSD-derived
> platforms?


FreeBSD 4.7-RELEASE-p7

db=# SELECT version();
                               version
---------------------------------------------------------------------
 PostgreSQL 7.3.2 on i386-portbld-freebsd4.7, compiled by GCC 2.95.4
(1 row)

db=# SELECT 1/0;
ERROR:  floating point exception! The last floating point operation either
exceeded legal ranges or was a divide by zero

Regards.

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

pgsql-general by date:

Previous
From: Fernando Schapachnik
Date:
Subject: Re: division by zero
Next
From: "Ed L."
Date:
Subject: Re: pg_ctl -m fast failing?