BUG #8191: Wrong bit conversion

From: gerald(at)hexboss(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #8191: Wrong bit conversion
Date: 2013-05-30 16:43:03
Message-ID: E1Ui5wN-0007sy-5H@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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"

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message federico 2013-05-30 16:43:25 BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica
Previous Message Hiroshi Inoue 2013-05-30 13:52:25 Re: Segmentation Fault in Postgres server when using psqlODBC