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: 25172.984584484@sss.pgh.pa.us (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group