Re: [PATCH] Windows x64 [repost] - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [PATCH] Windows x64 [repost]
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: [PATCH] Windows x64 [repost]  (Tsutomu Yamada <[email protected]>)
Responses Re: [PATCH] Windows x64 [repost]
List pgsql-hackers
On Fri, Dec 4, 2009 at 11:42, Tsutomu Yamada <[email protected]> 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 HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Streaming replication status
Next
From: Tom Lane
Date:
Subject: Re: ECPG patch causes warning