Re: [BUGS] [GENERAL] My postmaster just crashed !

2005-01-27 Thread Tom Lane
Michael Fuhr [EMAIL PROTECTED] writes: On Thu, Jan 27, 2005 at 05:26:26PM +0100, PFC wrote: It seems that contrib/intagg crashes my server : I see the same thing with PostgreSQL 8.0.0 (REL8_0_STABLE) on Solaris 9 and FreeBSD 4.11. The intagg source code says NOTE: This module requires

Re: [BUGS] [GENERAL] My postmaster just crashed !

2005-01-27 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think it is an internal thing with gcc that the size of a pointer and sizeof(int) are always the same, regardless of machine word size... with a 64-bit binary, sizeof(int) and sizeof(void *) should both be 8, which still causes them to be equal.

Re: [BUGS] [GENERAL] My postmaster just crashed !

2005-01-27 Thread Michael Fuhr
On Thu, Jan 27, 2005 at 02:22:36PM -0500, Tom Lane wrote: Michael Fuhr [EMAIL PROTECTED] writes: On Thu, Jan 27, 2005 at 05:26:26PM +0100, PFC wrote: It seems that contrib/intagg crashes my server : I see the same thing with PostgreSQL 8.0.0 (REL8_0_STABLE) on Solaris 9 and FreeBSD

Re: [BUGS] [GENERAL] My postmaster just crashed !

2005-01-27 Thread Tom Lane
Michael Fuhr [EMAIL PROTECTED] writes: Hmmm...the PostgreSQL binaries on my Solaris/sparc box are 32-bit and the FreeBSD box is a 32-bit i386, yet both are susceptible to the crash. On looking at it, the problem is that the functions are defined in such a way that you can pass any random

Re: [BUGS] [GENERAL] My postmaster just crashed !

2005-01-27 Thread Michael Fuhr
On Thu, Jan 27, 2005 at 03:00:06PM -0500, Frank D. Engel, Jr. wrote: I think it is an internal thing with gcc that the size of a pointer and sizeof(int) are always the same, regardless of machine word size... with a 64-bit binary, sizeof(int) and sizeof(void *) should both be 8, which

Re: [BUGS] [GENERAL] My postmaster just crashed !

2005-01-27 Thread Tom Lane
Frank D. Engel, Jr. [EMAIL PROTECTED] writes: I think it is an internal thing with gcc that the size of a pointer and sizeof(int) are always the same, regardless of machine word size... with a 64-bit binary, sizeof(int) and sizeof(void *) should both be 8, which still causes them to be

Re: [BUGS] [GENERAL] My postmaster just crashed !

2005-01-27 Thread Guy Rouillier
Frank D. Engel, Jr. wrote: I think it is an internal thing with gcc that the size of a pointer and sizeof(int) are always the same, regardless of machine word size... with a 64-bit binary, sizeof(int) and sizeof(void *) should both be 8, which still causes them to be equal. On AMD64, gcc

Re: [BUGS] [GENERAL] My postmaster just crashed !

2005-01-27 Thread Martijn van Oosterhout
On Thu, Jan 27, 2005 at 03:07:39PM -0600, Guy Rouillier wrote: Frank D. Engel, Jr. wrote: I think it is an internal thing with gcc that the size of a pointer and sizeof(int) are always the same, regardless of machine word size... with a 64-bit binary, sizeof(int) and sizeof(void *)