Re: [HACKERS] Summary of some postgres portability issues

2008-07-09 Thread Ken Camann
On Wed, Jul 9, 2008 at 3:35 AM, Martijn van Oosterhout [EMAIL PROTECTED] wrote: Just clarifying for myself: you are mostly listing theoretical problems here, not actual I ran it and got regression failures problems, right? Correct. This is why most of them point out that they are not actually

[HACKERS] Summary of some postgres portability issues

2008-07-08 Thread Ken Camann
In trying to port postgres to 64-bit Windows, I've encountered a number of issues which may (or may not) affect other compilers. If you followed the other thread, this is mostly a summary with a bit more details so feel free to ignore it. Some of these may have some minor effects on other

[HACKERS] Windows 64-bit work in progress patch

2008-07-07 Thread Ken Camann
I have developed the first part on my patch to get postgres running natively on 64-bit Windows. It makes no changes to the postgres code besides adding some win64 specific header files to the port directory. The rest of it is modifications to the Perl scripts in src/tools/msvc to get everything

[HACKERS] A Windows x64 port of MySQL

2008-07-02 Thread Ken Camann
Hello everyone, I don't really know much about contributing to projects, mailing lists, or really anything that has to do with the UNIX culture (I am not a UNIX fan). So forgive my ignorance of how this is supposed to work. Basically I am trying to compile postgres as a native x64 application.

Re: [HACKERS] A Windows x64 port of PostgreSQL

2008-07-02 Thread Ken Camann
On Wed, Jul 2, 2008 at 9:09 AM, Bernd Helmle [EMAIL PROTECTED] wrote: --On Mittwoch, Juli 02, 2008 07:39:29 -0400 Ken Camann [EMAIL PROTECTED] wrote: I assume it would only really matter if you did this to a pointer, and perhaps that is happening somewhere (but I doubt it since postgres

[HACKERS] Working on native Windows x64 version of PostgreSQL

2008-07-02 Thread Ken Camann
Hi everyone. For those who have seen my other thread, I have decided to take the plunge: I am going to try to get PostgreSQL to compile as a native Windows x64 application (so that it will be able to interface with x64 DLLs) and I will contribute my changes to the community. As you know, many of

Re: [HACKERS] A Windows x64 port of PostgreSQL

2008-07-02 Thread Ken Camann
On Wed, Jul 2, 2008 at 8:43 PM, Tom Lane [EMAIL PROTECTED] wrote: Ken Camann [EMAIL PROTECTED] writes: Oh I see. Between this and looking again at the warning list, I see that it will probably take a lot more work than I thought. There are about 450 occurrences of the assumption that sizeof

Re: [HACKERS] A Windows x64 port of PostgreSQL

2008-07-02 Thread Ken Camann
On Thu, Jul 3, 2008 at 12:39 AM, Tom Lane [EMAIL PROTECTED] wrote: Ken Camann [EMAIL PROTECTED] writes: EMT64/AMD64 is new compared to the older architectures, I would guess the older ones predate the time when it became a somewhat de facto standard to leave long int at 4 bytes, and make long