Re: bitwise storage and operations - Mailing list pgsql-general

From David G. Johnston
Subject Re: bitwise storage and operations
Date
Msg-id CAKFQuwYYFHjD-3YdruT=VEK6PVJdyUYBgt2jQ3ZuheJ5bBtUKQ@mail.gmail.com
Whole thread Raw
In response to bitwise storage and operations  (Jonathan Vanasco <postgres@2xlp.com>)
List pgsql-general
On Mon, Sep 26, 2016 at 1:44 PM, Jonathan Vanasco <postgres@2xlp.com> wrote:
The documentation doesn't have any examples for SELECT for the bitwise operators, 

Um...


SELECT B'111'::varbit & B'101'::varbit = B'101'::varbit 

​SELECT 10::bit(8)::varbit​
​David J.​

pgsql-general by date:

Previous
From: Jonathan Vanasco
Date:
Subject: bitwise storage and operations
Next
From: "David G. Johnston"
Date:
Subject: Re: bitwise storage and operations