marc@daelemans.com wrote:
> The following bug has been logged on the website:
>
> Bug reference: 14681
> Logged by: Marc Daelemans
> Email address: marc@daelemans.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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs