Re: possible obvious bug?

From: "Mario Weilguni" <mario(dot)weilguni(at)icomedias(dot)com>
To: "Merlin Moncure" <wizard_32141(at)yahoo(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: possible obvious bug?
Date: 2002-11-26 14:41:19
Message-ID: 4D618F6493CE064A844A5D496733D6670391FA@freedom.icomedias.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>I was playing with the Japanese win32 7.2.1 port and I noticed that "select
>0 / 0" caused the server to crash and restart. I understand that it is a
>totally unsupported version, but it should be easy enough to check vs. the
>current version. Note that select 0.0/0.0 worked fine!

Seems to work fine on my system.

postgres=# SELECT version();
version
---------------------------------------------------------------------
PostgreSQL 7.2.1 on i686-pc-linux-gnu, compiled by GCC egcs-2.91.66
(1 row)

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2002-11-26 15:05:09 Re: Need Quote for 7.3
Previous Message Samuel A Horwitz 2002-11-26 13:46:32 Re: RC2? AIX 4.2.1.0 (fwd)