Kemal Bayram <kemal@corenetworks.co.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