Other bit oddities

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Other bit oddities
Date: 2004-06-14 03:10:15
Message-ID: 40CD1717.7030601@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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)

Browse pgsql-hackers by date

  From Date Subject
Next Message Qingqing Zhou 2004-06-14 03:20:31 batch write of dirty buffers
Previous Message Christopher Kings-Lynne 2004-06-14 03:04:03 Weird 'bit' type behaviour