Re: [HACKERS] Summary of some postgres portability issues

2008-07-14 Thread Bruce Momjian
Ken Camann wrote: 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

Re: [HACKERS] Summary of some postgres portability issues

2008-07-14 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Ken Camann wrote: When I try to compile postgres, I get 396 warnings. These come from several different places: 1.) Most of the code involving strings requires a ILP32 or ILP64 to not generate a warning. This means sizeof(int) == sizeof(size_t) ==

Re: [HACKERS] Summary of some postgres portability issues

2008-07-09 Thread Martijn van Oosterhout
On Tue, Jul 08, 2008 at 07:01:10PM -0400, Ken Camann wrote: 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

Re: [HACKERS] Summary of some postgres portability issues

2008-07-09 Thread Peter Eisentraut
Am Mittwoch, 9. Juli 2008 schrieb 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. Given that PostgreSQL runs fine on other 64-bit architectures, unsubstantiated claims about other compilers being

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

Re: [HACKERS] Summary of some postgres portability issues

2008-07-09 Thread Martijn van Oosterhout
On Wed, Jul 09, 2008 at 03:03:48PM -0400, Ken Camann wrote: 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?

[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