Re: Proposal: More portable way to support 64bit platforms

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org, Tsutomu Yamada <tsutomu(at)sraoss(dot)co(dot)jp>
Subject: Re: Proposal: More portable way to support 64bit platforms
Date: 2009-06-26 14:13:34
Message-ID: 200906261713.34888.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2009-06-26 14:18:57 Re: gettext version problem exposed by buildfarm failures on "canary"
Previous Message Merlin Moncure 2009-06-26 14:00:20 Re: query cancel issues in contrib/dblink