Re: Proposal: More portable way to support 64bit platforms - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Proposal: More portable way to support 64bit platforms
Date
Msg-id 200906261713.34888.peter_e@gmx.net
Whole thread Raw
In response to Proposal: More portable way to support 64bit platforms  (Tsutomu Yamada <tsutomu@sraoss.co.jp>)
List pgsql-hackers
On Friday 26 June 2009 12:07:24 Tsutomu Yamada wrote:
> Proposal: More portable way to support 64bit platforms
>
> Short description:
>
> Current PostgreSQL implementation has some portability issues to
> support 64bit platforms: pointer calculations using long is not
> portable, for example on Windows x64 platform. We propose to use
> intptr_t instead of long, which appears in in C99.

This makes sense.  You can also review the archives for previous iterations of 
this discussion (search for "intptr_t").

You might want to add your patch to the next commit fest.



pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: query cancel issues in contrib/dblink
Next
From: "Andrew Dunstan"
Date:
Subject: Re: gettext version problem exposed by buildfarm failures on "canary"