Re: Bitwise operators in SQL

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Arcady Genkin <a.genkin@utoronto.ca>
Cc: <pgsql-general@postgresql.org>
Date: 2001-05-25T18:12:22Z
Lists: pgsql-general
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.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter