Re: modulo operator bug?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kemal Bayram <kemal(at)corenetworks(dot)co(dot)uk>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: modulo operator bug?
Date: 2001-03-14 15:41:24
Message-ID: 25172.984584484@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Kemal Bayram <kemal(at)corenetworks(dot)co(dot)uk> writes:
> from psql:
> kemal=# select 0.99 % 0.50;
> ?column?
> ----------
> 0.04
> (1 row)

> Am I missing something fundemental here or is this indeed a bug?

Looks like a bug to me too. mod_var shouldn't be using tmp.rscale,
I think.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-14 16:28:07 Re: Various bugs with PG7.1 8th March snapshot on Solaris 8 INTEL
Previous Message pgsql-bugs 2001-03-14 05:16:23 Checking PQstatus (libpq) returns CONNECTION_OK when it is not.