The following bug has been logged on the website:
Bug reference: 8191
Logged by: Gerald Luger
Email address: gerald(at)hexboss(dot)com
PostgreSQL version: 9.2.1
Operating system: Windows 8
Description:
SELECT b'1'::bit(64), x'1'::bit(64), 1::bit(64)
RESULT:
"1000000000000000000000000000000000000000000000000000000000000000",
"0001000000000000000000000000000000000000000000000000000000000000",
"0000000000000000000000000000000000000000000000000000000000000001"