Is there any reason for this behaviour:
test=# select 1::bit; bit----- 0(1 row)
test=# select '1'::bit; bit----- 1(1 row)
Chris