Bit String expand bug - Mailing list pgsql-bugs

From Gabriel Ciubotaru
Subject Bit String expand bug
Date
Msg-id 525670B3.5060007@bitdefender.com
Whole thread Raw
Responses Re: Bit String expand bug  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Hello,
     There's a problem with expanding Bit String data types, it make
right padding with 0 instead of left padding , making  the bit mask
almost useless.
     There is an workaround for that, like mask::bit(n) >>
(n-length(mask)), but is much slower than directly left padding on expand.
     I wonder if is this intended for Big Endian processing or is just
wrong coded.

Have a nice day !

pgsql-bugs by date:

Previous
From: dwayne@docketnavigator.com
Date:
Subject: BUG #8516: Calling VOLATILE from STABLE function
Next
From: s.mechaab@gmail.com
Date:
Subject: BUG #8517: Problem due to libeay32.dll about ordinal