From: Tom Lane <tgl@sss.pgh.pa.us>
To: marc@daelemans.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14681: Erroneous modulo (%) result
Date: Thu, 01 Jun 2017 09:45:24 -0400
Message-ID: <15342.1496324724@sss.pgh.pa.us> (raw)
In-Reply-To: <20170531214547.1500.25117@wrigleys.postgresql.org>
References: <20170531214547.1500.25117@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, marc@daelemans.com
Subject: Re: BUG #14681: Erroneous modulo (%) result
In-Reply-To: <15342.1496324724@sss.pgh.pa.us>
References: <20170531214547.1500.25117@wrigleys.postgresql.org> <15342.1496324724@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox