Re: [HACKERS] 64-bit hashjoins - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] 64-bit hashjoins
Date
Msg-id 36FBDC02.F1806269@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] 64-bit hashjoins  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] PostgreSQL LOGO (was: Developers Globe (FINAL))
Next
From: Kaare Rasmussen
Date:
Subject: Re: [HACKERS] PostgreSQL LOGO (was: Developers Globe (FINAL))