Re: [HACKERS] 64-bit hashjoins

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [HACKERS] 64-bit hashjoins
Дата
Msg-id 36FBDC02.F1806269@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: [HACKERS] 64-bit hashjoins  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Right now the system is still making an assumption that I consider
> crufty: it uses typalign = 'd' (ie, DOUBLE alignment) for int8 data
> (long long int).  As things stand, this would only cause problems on
> machines where long long actually has stronger alignment requirements
> than double.  I've never heard of such a platform, but maybe they are
> out there --- has anyone heard of one?

No. At least not in our list of supported platforms; don't know what
Cray mainframes require, since machines like that are not necessarily
8-bit-bytes, 4-byte-longword machines.

> Is it worth adding a new typalign value specifically for int8, in 
> order to make the world safe for int8 columns in system tables?

I would be comfortable making the same assumptions about int8 as for
double.
                       - Thomas


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] PostgreSQL LOGO (was: Developers Globe (FINAL))
Следующее
От: Kaare Rasmussen
Дата:
Сообщение: Re: [HACKERS] PostgreSQL LOGO (was: Developers Globe (FINAL))