Re: BUG #8191: Wrong bit conversion

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gerald(at)hexboss(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8191: Wrong bit conversion
Date: 2013-05-31 21:33:51
Message-ID: 11097.1370036031@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

gerald(at)hexboss(dot)com writes:
> SELECT b'1'::bit(64), x'1'::bit(64), 1::bit(64)

> RESULT:
> "1000000000000000000000000000000000000000000000000000000000000000",
> "0001000000000000000000000000000000000000000000000000000000000000",
> "0000000000000000000000000000000000000000000000000000000000000001"

I believe those are all operating as intended.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Gerald Luger 2013-05-31 23:29:56 Re: BUG #8191: Wrong bit conversion
Previous Message healthycomputers 2013-05-31 18:34:37 BUG #8197: Error Message When trying to install PS8.1