marc(at)daelemans(dot)com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 14681
> Logged by: Marc Daelemans
> Email address: marc(at)daelemans(dot)com
> PostgreSQL version: 9.6.3
> Operating system: Win8.1 x64
> Description:
>
> select i, i&11 as j from generate_series ( 1, 100 ) i ;
Note that you're using the & operator (bitwise and) rather than % here.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services