Re: [PATCH] Windows x64 [repost]

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tsutomu Yamada <tsutomu(at)sraoss(dot)co(dot)jp>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: [PATCH] Windows x64 [repost]
Date: 2010-01-10 16:43:27
Message-ID: 9837222c1001100843s14d0ccc3i68f6c5e21819ebfd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Dec 4, 2009 at 11:42, Tsutomu Yamada <tsutomu(at)sraoss(dot)co(dot)jp> wrote:
> The following patches support Windows x64.
>
> 1) use intptr_t for Datum and pointer macros. (to support Windows LLP64)
>   almost the same as that post before.
>   http://archives.postgresql.org/pgsql-hackers/2009-06/threads.php#01364
>
> 2) use appropriate macro and datatypes for Windows API.
>   enables more than 32bits shared memory.
>
> 3) Build scripts for MSVC, this came from
>   http://archives.postgresql.org/pgsql-hackers/2008-07/msg00440.php
>   add new parameters to config.pl.
>   You need define "platform" to "x64" for 64bit programs.

I have now applied this, with some extensive refactoring and
extension. But all parts in this one should be in now, so if you are
missing something, please let me know :-)

> I was checked where the string converted with "%ld" is used.
> An especially fatal part is not found excluding one of plperl.

I have not looked at the plperl stuff yet. I'd appreciate a comment
from someone who knows plperl :-) Andrew, maybe?

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-01-10 16:47:59 Re: ECPG patch causes warning
Previous Message Heikki Linnakangas 2010-01-10 16:40:37 Re: Streaming replication status