Re: Bitwise operators in SQL - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Bitwise operators in SQL
Date
Msg-id Pine.LNX.4.30.0105252012000.758-100000@peter.localdomain
Whole thread Raw
In response to Bitwise operators in SQL  (Arcady Genkin <a.genkin@utoronto.ca>)
List 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


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Compilation fails --with-ssl on Solaris 8
Next
From: "Richard Huxton"
Date:
Subject: Re: [URGENT] How to generata a unique string id