Re: [BUGS] [patch] test failure on sparc64 due to undefined division by zero behaviour

2011-03-11 Thread Tom Lane
Martin Pitt writes: > The C99 standard [2], section 6.5.5 paragraph 5 actually says: > "The result of the / operator is the quotient from the division of > the first operand by the second; the result of the % operator is the > remainder. In both operations, if the value of the second operan

[BUGS] [patch] test failure on sparc64 due to undefined division by zero behaviour

2011-03-11 Thread Martin Pitt
Hello PostgreSQL hackers, I recently got the following bug report about a test suite failure on sparc64: - Forwarded message from Aurelien Jarno - Date: Wed, 02 Mar 2011 23:49:05 +0100 From: Aurelien Jarno To: Debian Bug Tracking System Subject: Bug#616180: postgresql-9.0: FTBFS on sp