binary search - Mailing list pgsql-sql

From Vladimir Dobrokhotov
Subject binary search
Date
Msg-id 01be2731$721f7ea0$261313d4@dvs.rybvod.kamchatka.su
Whole thread Raw
Responses Re: [SQL] binary search
List pgsql-sql
Hello,
I didn't find in documentation how to do binary search.
I want to find records where (int2_field AND 8)=TRUE (8).
Is this possible? Can I use index?

Thank a lot.
Vladimir Dobrokhotov



pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [SQL] char type seems the same as char(1)
Next
From: Remigiusz Sokolowski
Date:
Subject: Re: [SQL] Newbie questions