Re: x86-64 and PostgreSQL

From: "James H(dot) Cloos Jr(dot)" <cloos(at)jhcloos(dot)com>
To: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
Cc: PgSQL Performance ML <pgsql-performance(at)postgresql(dot)org>
Subject: Re: x86-64 and PostgreSQL
Date: 2003-01-21 08:21:03
Message-ID: m3of6aewwg.fsf@lugabout.jhcloos.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

>>>>> "Ron" == Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net> writes:

Ron> Also, since (at least on the gcc-3.2 compiler) a "long" and "int"
Ron> are still 32 bits (64 bit scalars are of type "long long"),

According to the draft x86-64 psABI¹, which is to become the
System V psABI for the x86-64 architecture, sizeof(long) == 8.

This does seem necessary as most code tends to presume that an
unsigned long can hold a pointer....

-JimC

¹ http://www.x86-64.org/abi.pdf

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Seth Robertson 2003-01-21 21:20:49 Postgres 7.3.1 poor insert/update/search performance esp WRT Oracle
Previous Message Rudi Starcevic 2003-01-20 23:40:13 subscribe