Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group