Re: [BUGS] BUG #14681: Erroneous modulo (%) result - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14681: Erroneous modulo (%) result
Date
Msg-id 15342.1496324724@sss.pgh.pa.us
Whole thread Raw
In response to [BUGS] BUG #14681: Erroneous modulo (%) result  (marc@daelemans.com)
List pgsql-bugs
marc@daelemans.com writes:
> select i, i&11 as j from generate_series ( 1, 100 ) i ;
> generates correct results on Win7 SP1, x64; 16GB machine, and
> erroneous results on another PC (Win8.1, x64, GB RAM). 

I'm suspicious that you have some extension that redefines the & operator
and is installed on just one of the two machines.  Running "\do &" in
psql on both systems would be informative.
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: ray.warren@artsalliancemedia.com
Date:
Subject: [BUGS] BUG #14683: *** glibc detected *** SELECT: double free or corruption
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] [BUGS] Concurrent ALTER SEQUENCE RESTART Regression