Re: Bitwise operators in SQL
Arcady Genkin <a.genkin@utoronto.ca>
From: Arcady Genkin <a.genkin@utoronto.ca>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: <pgsql-general@postgresql.org>
Date: 2001-05-25T20:25:11Z
Lists: pgsql-general
Peter Eisentraut <peter_e@gmx.net> writes: > Arcady Genkin writes: > > > But the problem is that there are no > > bitwise operators among Postgres's supported operators. So, I cannot > > write something like > > > > select name from pages where access&2>0; > > > > Is there a standard way to approach this kind of problem? > > Upgrading. Indeed, thanks. I was reading the docs for 7.0, and didn't notice that 7.1 has bitwise operators. Thanks a lot, -- Arcady Genkin