Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group