Thread: Other bit oddities

Other bit oddities

From
Christopher Kings-Lynne
Date:
What about these?

test=# select B'1' << 4; ?column?
---------- 0
(1 row)

test=# select B'1'::bit varying << 4; ?column?
---------- 0
(1 row)

test=# select '1'::bit varying << 4; ?column?
---------- 0
(1 row)