Re: BUG #8191: Wrong bit conversion

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: BUG #8191: Wrong bit conversion
Дата
Msg-id 51A977E2.6030101@hogranch.com
обсуждение исходный текст
Ответ на Re: BUG #8191: Wrong bit conversion  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Список pgsql-bugs
On 5/31/2013 6:01 PM, Gavin Flower wrote:
>> SQL's BIT type is big endian, a hangover from its IBM mainframe
>> heritage.
>>
>>
>>
>>
>>
> I don't think it has anything to do with byte sex (I know of 3 ways to
> store integers in memory, and I suspect there are more !).

I was thinking of bit sex, not byte.

IBM numbers bits such that bit 0 is the most significant bit of a word.


--
john r pierce                                      37N 122W
somewhere on the middle of the left coast

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: BUG #8191: Wrong bit conversion
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #8191: Wrong bit conversion